- add isFocused cond for GetStoreSkus.
This commit is contained in:
@@ -14,6 +14,7 @@ type StoreSkuController struct {
|
||||
// @Description 得到商家商品信息,如下条件之间是与的关系
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Param isFocused query bool true "是否已关注(认领)"
|
||||
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
|
||||
// @Param nameID query int false "SkuName ID"
|
||||
// @Param skuID query int false "Sku ID"
|
||||
@@ -31,7 +32,7 @@ type StoreSkuController struct {
|
||||
// @router /GetStoreSkus [get]
|
||||
func (c *StoreSkuController) GetStoreSkus() {
|
||||
c.callGetStoreSkus(func(params *tStoreSkuGetStoreSkusParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStoreSkus(params.StoreID, params.Keyword, params.MapData, params.Offset, params.PageSize)
|
||||
retVal, err = cms.GetStoreSkus(params.StoreID, params.IsFocused, params.Keyword, params.MapData, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user