Commit 1bc6ae983d15e429aea1947c98e8e85c1ff4034d
1 parent
4bb5dfa2
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/datadef.go
@@ -15,8 +15,8 @@ type TestAddCatResp struct { | @@ -15,8 +15,8 @@ type TestAddCatResp struct { | ||
15 | } | 15 | } |
16 | 16 | ||
17 | type ChangeCoinReq struct { | 17 | type ChangeCoinReq struct { |
18 | - Type int `json:"type"` | ||
19 | - Coin string `json:"coin"` | 18 | + Type int `json:"type"` |
19 | + Coin int64 `json:"coin"` | ||
20 | } | 20 | } |
21 | 21 | ||
22 | type ChangeCoinData struct { | 22 | type ChangeCoinData struct { |