任务:排查及修复

This commit is contained in:
luying
2021-11-17 18:09:03 +08:00
parent 2b157c9ef4
commit 08fffc2b54
5 changed files with 24 additions and 21 deletions

View File

@@ -112,7 +112,7 @@ export class RoleHandler {
let calResult = await calAllHeroCe(HERO_SYSTEM_TYPE.TITLE, sid, roleId, update);
// 任务
await checkTask(roleId, sid, TASK_TYPE.ROLE_TITLE, 1, false, { title });
await checkTask(roleId, sid, TASK_TYPE.ROLE_TITLE, 1, false, { oldTitle: title, title: update.title });
//成长任务
await checkActivityTask(serverId, sid, roleId, TASK_TYPE.ROLE_TITLE, update.title)

View File

@@ -1,20 +1,20 @@
module.exports = {
"battle.normalBattleHandler.getBattleList": {
'message Data': {
'message BattleList': {
'required uInt32 battleId': 1,
'required uInt32 status': 2,
'required uInt32 star': 3,
'repeated uInt32 stars': 4,
'required string scriptBefore': 5,
'required string scriptAfter': 6,
},
'repeated BattleList list': 1
},
'required string msg': 1,
'required uInt32 code': 2,
'required Data data': 3
},
// "battle.normalBattleHandler.getBattleList": {
// 'message Data': {
// 'message BattleList': {
// 'required uInt32 battleId': 1,
// 'required uInt32 status': 2,
// 'required uInt32 star': 3,
// 'repeated uInt32 stars': 4,
// 'optional string scriptBefore': 5,
// 'optional string scriptAfter': 6,
// },
// 'repeated BattleList list': 1
// },
// 'required string msg': 1,
// 'required uInt32 code': 2,
// 'required Data data': 3
// },
// "battle.normalBattleHandler.checkBattle": {
// 'message Data': {
// "optional uInt32 battleId": 1,