下分数据 money改为string
This commit is contained in:
parent
e32a8f0adc
commit
3c4fc64882
|
@ -286,7 +286,7 @@ type PlatfromDownScoreReq struct {
|
|||
type PlatfromDownScoreRsp struct {
|
||||
Code int `json:"code"`
|
||||
Data struct {
|
||||
Money int64 `json:"money"`
|
||||
Money string `json:"money"`
|
||||
} `json:"data"`
|
||||
Message string `json:"message"`
|
||||
Success bool `json:"success"`
|
||||
|
|
|
@ -3222,7 +3222,7 @@ func init() {
|
|||
player.SendDiffData()
|
||||
}
|
||||
|
||||
pack.Data.Money = -addcoin
|
||||
pack.Data.Money = strconv.FormatInt(-addcoin, 10)
|
||||
|
||||
jsonDataRsp, err = json.Marshal(pack)
|
||||
if err != nil {
|
||||
|
@ -3292,7 +3292,7 @@ func init() {
|
|||
pack.Message = data.(error).Error()
|
||||
}
|
||||
|
||||
pack.Data.Money = -addcoin
|
||||
pack.Data.Money = strconv.FormatInt(-addcoin, 10)
|
||||
|
||||
jsonDataRsp, err = json.Marshal(pack)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue