商品查询

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

View File

@@ -435,7 +435,12 @@ func (a *API) ImageUpdate(wareId int64, imgIndex int, imgUrl string) (err error)
type SearchWare4ValidResult struct {
PageSize int `json:"pageSize"`
Data []struct {
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"`
@@ -444,9 +449,6 @@ type SearchWare4ValidResult struct {
Title string `json:"title"`
ItemNum string `json:"itemNum"`
ColType int `json:"colType"`
} `json:"data"`
PageNo int `json:"pageNo"`
TotalItem int `json:"totalItem"`
}
//搜索有效商品