Commit efc2c146 authored by szh's avatar szh

add binding

parent 0d21d0b3
......@@ -48,14 +48,14 @@ type MinedTxInfo struct {
type ReqTicketInfo struct {
Addr string `json:"addr" binding:"requried"`
Addr string `json:"addr" binding:"required"`
Page int32 `json:"page"`
Pagesize int32 `json:"pagesize"`
Detail bool `json:"detail"`
}
type ReqMineTime struct {
Addr string `json:"addr" binding:"requried"`
Addr string `json:"addr" binding:"required"`
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