更新映射

This commit is contained in:
wuaho 2021-10-19 17:48:50 +08:00
parent 22e00d1af2
commit 509a6e90bb

View File

@ -33,6 +33,7 @@ class GlobalConfig(BaseSettings):
'fight': 'role_power',
'mission_completed': 'task_flow',
'enter_stage': 'dungeon_flow',
'end_stage': 'dungeon_flow',
'resource_change': 'item_flow',
'summon': 'recruit',
'ask_for_join_guild': 'guild_apply',
@ -46,6 +47,8 @@ class GlobalConfig(BaseSettings):
'equip_level_up': 'hero_equip_rank',
'rune_forge': 'rune_flow',
'event_participate': 'activity_flow',
'event_centered': 'activity_flow',
'event_finish': 'activity_flow',
'home_rank': 'home_rank',
'fishing_flow': 'fishing_flow'}
# 公共属性映射 legu->shoumeng
@ -76,7 +79,8 @@ class GlobalConfig(BaseSettings):
'create_account': {},
'login': {},
'ta_app_end': {},
'animation': {'animation_seconds': 'animation_seconds', 'result': 'result'},
'animation': {'animation_seconds': 'animation_seconds',
'animation_result': 'result'},
'guide': {'step_id': 'guide_id', 'step_name': 'guide_name'},
'ping': {'online_ts': 'online_time'},
'level_up': {'role_level': 'rank',
@ -89,7 +93,9 @@ class GlobalConfig(BaseSettings):
'after_fighting': 'power_change'},
'mission_completed': {'mission_type': 'task_type',
'mission_id': 'task_id',
'mission_name': 'task_name'},
'mission_name': 'task_name',
'reward_list': 'task_reward_content',
'reward_type': 'task_result'},
'enter_stage': {'stage_id': 'dungeon_id',
'stage_name': 'dungeon_name',
'stage_type': 'dungeon_type'},
@ -104,23 +110,19 @@ class GlobalConfig(BaseSettings):
'change_num': 'count_change',
'change_before': 'count_before',
'change_after': 'count',
'change_reason': 'sub_season'},
'change_reason': 'sub_reason'},
'summon': {'summon_type': 'recruit_type',
'item_list': 'item_id',
'item_name': 'reward_name',
'summon_cost_type': 'item_name',
'item_name': 'reward_content',
'summon_cost_type': 'cost_name',
'summon_cost_num': 'cost_count'},
'ask_for_join_guild': {'guild_level': 'guiild_rank',
'guild_id': 'guild_id',
'guild_name': 'guild_name',
'guild_position': 'guild_position'},
'leave_guild': {'guild_level': 'guiild_rank',
'guild_id': 'guild_id',
'guild_name': 'guild_name',
'guild_position': 'guild_position'},
'create_guild': {'guild_level': 'guiild_rank',
'guild_id': 'guild_id',
'guild_name': 'guild_name',
'guild_fighting_capacity': 'guild_position'},
'guild_donate': {},
'get_hero': {'hero_name': 'hero_name',
@ -141,9 +143,7 @@ class GlobalConfig(BaseSettings):
'hero_skill_get': {'hero_name': 'hero_name',
'hero_job': 'hero_job',
'skill_id': 'skill_id',
'skill_name': 'skill_name',
'reason': 'reason',
'sub_season': 'sub_season'},
'skill_name': 'skill_name'},
'hero_equip': {'equip_id': 'equip_id',
'after_fight': 'equip_name',
'equip_quality': 'equip_quality'},
@ -161,7 +161,7 @@ class GlobalConfig(BaseSettings):
'event_finish': {'mission_start_time': 'activity_reward_content'},
'home_rank': {'home_rank_before': 'home_rank_before',
'home_rank': 'home_rank_before'},
'fishing_flow': {'result': 'result',
'fishing_flow': {'fishing_result': 'result',
'reward_content': 'reward_content',
'fish_time_rest': 'fish_time_rest'},
'training_room': {},
@ -171,7 +171,12 @@ class GlobalConfig(BaseSettings):
'banquet': {},
'home_hero_list': {},
'mine_layer': {},
'decoration_recycle': {}}
'buy_strength': {},
'expend_strength': {},
'decoration_recycle': {},
'complete_build': {},
'binfen_participate': {},
'binfen_finish': {}}
# 手盟上报模板
template_data = {
"cp_game_id": 682,