商品查询

This commit is contained in:
苏尹岚
2020-05-22 15:07:00 +08:00
parent 656908e36f
commit 93ae05ec42

View File

@@ -434,19 +434,21 @@ func (a *API) ImageUpdate(wareId int64, imgIndex int, imgUrl string) (err error)
}
type SearchWare4ValidResult struct {
PageSize int `json:"pageSize"`
Data []struct {
WareID int64 `json:"wareId"`
WareStatus int `json:"wareStatus"`
CategoryID int `json:"categoryId"`
OnlineTime int64 `json:"onlineTime"`
OuterID string `json:"outerId"`
Title string `json:"title"`
ItemNum string `json:"itemNum"`
ColType int `json:"colType"`
} `json:"data"`
PageNo int `json:"pageNo"`
TotalItem int `json:"totalItem"`
PageSize int `json:"pageSize"`
Data []*SearchWare4ValidResultData `json:"data"`
PageNo int `json:"pageNo"`
TotalItem int `json:"totalItem"`
}
type SearchWare4ValidResultData struct {
WareID int64 `json:"wareId"`
WareStatus int `json:"wareStatus"`
CategoryID int `json:"categoryId"`
OnlineTime int64 `json:"onlineTime"`
OuterID string `json:"outerId"`
Title string `json:"title"`
ItemNum string `json:"itemNum"`
ColType int `json:"colType"`
}
//搜索有效商品