1
This commit is contained in:
@@ -95,6 +95,8 @@ func (c *StoreSkuController) GetStoreSkus() {
|
||||
// @Param priceType query int false "是否查过高价格商品,0是忽略,1是高价,-1是低价"
|
||||
// @Param highestPrice query string false "查询最高价"
|
||||
// @Param minimumPrice query string false "查询最低价"
|
||||
// @Param minStock query int false "最小库存"
|
||||
// @Param maxStock query int false "最大库存"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetStoresSkus [get,post]
|
||||
@@ -1012,8 +1014,9 @@ func (c *StoreSkuController) GetVendorStoreSkus() {
|
||||
// @Param token header string false "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Param isFocus query bool true "是否已关注(认领)"
|
||||
// @Param stock query bool false "库存是否为0"
|
||||
// @Param stock query int false "库存是否为0[1-全查/2-有库存/3-没库存]"
|
||||
// @Param locationCode query bool false "商品位置是否为空"
|
||||
// @Param locationCode2 query string false "商品位置编码"
|
||||
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
|
||||
// @Param categoryID query int false "商品所属类别ID"
|
||||
// @Param status query int false "查询起始状态(0:不可售,1:可售,-1 全部)"
|
||||
@@ -1025,7 +1028,7 @@ func (c *StoreSkuController) GetVendorStoreSkus() {
|
||||
// @router /GetStoresSkusForStore [get]
|
||||
func (c *StoreSkuController) GetStoresSkusForStore() {
|
||||
c.callGetStoresSkusForStore(func(params *tStoreSkuGetStoresSkusForStoreParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStoresSkusForStore(params.Ctx, params.StoreID, params.IsFocus, params.IsAct, params.Keyword, params.CategoryID, params.Status, params.Offset, params.PageSize, params.Stock, params.LocationCode)
|
||||
retVal, err = cms.GetStoresSkusForStore(params.Ctx, params.StoreID, params.IsFocus, params.IsAct, params.Keyword, params.CategoryID, params.Status, params.Offset, params.PageSize, params.Stock, params.LocationCode, params.LocationCode2)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user