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