商品查询
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
//搜索有效商品
|
||||
|
||||
Reference in New Issue
Block a user