Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
bcc6e797d7
@ -148,11 +148,5 @@
|
|||||||
"open": true,
|
"open": true,
|
||||||
"routrules": "~/worker",
|
"routrules": "~/worker",
|
||||||
"describe": "猜颜色"
|
"describe": "猜颜色"
|
||||||
},
|
|
||||||
{
|
|
||||||
"msgid": "gameinvite",
|
|
||||||
"open": true,
|
|
||||||
"routrules": "~/worker",
|
|
||||||
"describe": "邀请系统"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -5,6 +5,7 @@ import (
|
|||||||
"go_dreamfactory/pb"
|
"go_dreamfactory/pb"
|
||||||
"go_dreamfactory/sys/configure"
|
"go_dreamfactory/sys/configure"
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
"go_dreamfactory/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
//参数校验
|
//参数校验
|
||||||
@ -167,7 +168,7 @@ func (this *apiComp) Train(session comm.IUserSession, req *pb.DragonTrainReq) (e
|
|||||||
session.SendMsg(string(this.module.GetType()), "train", rsp)
|
session.SendMsg(string(this.module.GetType()), "train", rsp)
|
||||||
if curLv > preLv { // 升级后统计任务
|
if curLv > preLv { // 升级后统计任务
|
||||||
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||||
this.module.ModuleBuried.TriggerBuried(session, comm.GetBuriedParam2(comm.Rtype235, dragon.Dragonid, dragon.Lv))
|
this.module.ModuleBuried.TriggerBuried(session, comm.GetBuriedParam(comm.Rtype235, dragon.Lv, utils.ToInt32(dragon.Dragonid)))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user