diff --git a/src/HttpServer/logic/datadef.go b/src/HttpServer/logic/datadef.go index 94faed2..d5e1d2c 100644 --- a/src/HttpServer/logic/datadef.go +++ b/src/HttpServer/logic/datadef.go @@ -15,8 +15,8 @@ type TestAddCatResp struct { } type ChangeCoinReq struct { - Type int `json:"type"` - Coin string `json:"coin"` + Type int `json:"type"` + Coin int64 `json:"coin"` } type ChangeCoinData struct { -- libgit2 0.21.0