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