上分修改

This commit is contained in:
DESKTOP-45ANQ2C\unis 2024-12-16 11:56:54 +08:00
parent b34fc744f8
commit 90d76a17c8
1 changed files with 4 additions and 2 deletions

View File

@ -3049,7 +3049,7 @@ func init() {
}
pack.Success = true
pack.Data.Count = msg.Count
pack.Data.Count = player.Coin
jsonDataRsp, err = json.Marshal(pack)
if err != nil {
@ -3101,6 +3101,8 @@ func init() {
return err
}
}
remainNum = findPlayer.Coin + addcoin
return nil
}), task.CompleteNotifyWrapper(func(data interface{}, t task.Task) {
pack.Code = int(webapiproto.TagCode_SUCCESS)
@ -3113,7 +3115,7 @@ func init() {
}
pack.Success = true
pack.Data.Count = msg.Count
pack.Data.Count = remainNum
jsonDataRsp, err = json.Marshal(pack)
if err != nil {