上传秘境战斗数据同步bug

This commit is contained in:
liwei1dao 2022-10-14 10:10:21 +08:00
parent 5e23153a08
commit 483accd591

View File

@ -32,7 +32,7 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.MoonfantasyBattle
this.module.modelUserMF.Change(session.GetUserId(), map[string]interface{}{ this.module.modelUserMF.Change(session.GetUserId(), map[string]interface{}{
"battleNum": umfantasy.BattleNum, "battleNum": umfantasy.BattleNum,
}) })
this.module.modelDream.Change(session.GetUserId(), map[string]interface{}{ this.module.modelDream.Change(mdata.Id, map[string]interface{}{
"record": mdata.Record, "record": mdata.Record,
}) })
session.SendMsg(string(this.module.GetType()), "battle", &pb.MoonfantasyBattleResp{ session.SendMsg(string(this.module.GetType()), "battle", &pb.MoonfantasyBattleResp{