This commit is contained in:
laodaming 2023-07-10 17:54:43 +08:00
parent fb4414fab6
commit 6b96a3ecbe
2 changed files with 9 additions and 2 deletions

View File

@ -9,7 +9,7 @@ type GetProductListReq struct {
Cid int64 `form:"cid"` Cid int64 `form:"cid"`
Size uint32 `form:"size"` Size uint32 `form:"size"`
Page uint32 `form:"page"` Page uint32 `form:"page"`
IsDemo uint32 `form:"is_demo" , options=0|1"` IsDemo uint32 `form:"is_demo,optional"`
} }
type GetProductListRsp struct { type GetProductListRsp struct {
@ -230,6 +230,13 @@ type Auth struct {
RefreshAfter int64 `json:"refreshAfter"` 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 { type Meta struct {
TotalCount int64 `json:"totalCount"` TotalCount int64 `json:"totalCount"`
PageCount int64 `json:"pageCount"` PageCount int64 `json:"pageCount"`

View File

@ -38,7 +38,7 @@ type GetProductListReq {
Cid int64 `form:"cid"` Cid int64 `form:"cid"`
Size uint32 `form:"size"` Size uint32 `form:"size"`
Page uint32 `form:"page"` Page uint32 `form:"page"`
IsDemo uint32 `form:"is_demo" , options=0|1"` IsDemo uint32 `form:"is_demo,optional"`
} }
type GetProductListRsp { type GetProductListRsp {
Ob Ob `json:"ob"` Ob Ob `json:"ob"`