Commit efc2c146 authored by szh's avatar szh

add binding

parent 0d21d0b3
...@@ -48,14 +48,14 @@ type MinedTxInfo struct { ...@@ -48,14 +48,14 @@ type MinedTxInfo struct {
type ReqTicketInfo struct { type ReqTicketInfo struct {
Addr string `json:"addr" binding:"requried"` Addr string `json:"addr" binding:"required"`
Page int32 `json:"page"` Page int32 `json:"page"`
Pagesize int32 `json:"pagesize"` Pagesize int32 `json:"pagesize"`
Detail bool `json:"detail"` Detail bool `json:"detail"`
} }
type ReqMineTime struct { type ReqMineTime struct {
Addr string `json:"addr" binding:"requried"` Addr string `json:"addr" binding:"required"`
Flag string `json:"flag"` Flag string `json:"flag"`
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment