fix
This commit is contained in:
parent
fb4414fab6
commit
6b96a3ecbe
|
@ -9,7 +9,7 @@ type GetProductListReq struct {
|
|||
Cid int64 `form:"cid"`
|
||||
Size uint32 `form:"size"`
|
||||
Page uint32 `form:"page"`
|
||||
IsDemo uint32 `form:"is_demo" , options=0|1"`
|
||||
IsDemo uint32 `form:"is_demo,optional"`
|
||||
}
|
||||
|
||||
type GetProductListRsp struct {
|
||||
|
@ -230,6 +230,13 @@ type Auth struct {
|
|||
RefreshAfter int64 `json:"refreshAfter"`
|
||||
}
|
||||
|
||||
type File struct {
|
||||
Filename string `fsfile:"filename"`
|
||||
Header map[string][]string `fsfile:"header"`
|
||||
Size int64 `fsfile:"size"`
|
||||
Data []byte `fsfile:"data"`
|
||||
}
|
||||
|
||||
type Meta struct {
|
||||
TotalCount int64 `json:"totalCount"`
|
||||
PageCount int64 `json:"pageCount"`
|
||||
|
|
|
@ -38,7 +38,7 @@ type GetProductListReq {
|
|||
Cid int64 `form:"cid"`
|
||||
Size uint32 `form:"size"`
|
||||
Page uint32 `form:"page"`
|
||||
IsDemo uint32 `form:"is_demo" , options=0|1"`
|
||||
IsDemo uint32 `form:"is_demo,optional"`
|
||||
}
|
||||
type GetProductListRsp {
|
||||
Ob Ob `json:"ob"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user