- GetStoreAbnormalSkuCount添加syncStatus与isBySku参数
This commit is contained in:
@@ -96,12 +96,14 @@ func (c *StoreSkuController) GetStoresSkus() {
|
||||
// @Description 得到异常门店商品数量
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Param syncStatus query int true "同步标志掩码"
|
||||
// @Param isBySku query bool false "是否按SKU分拆"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetStoreAbnoramlSkuCount [get]
|
||||
func (c *StoreSkuController) GetStoreAbnoramlSkuCount() {
|
||||
c.callGetStoreAbnoramlSkuCount(func(params *tStoreSkuGetStoreAbnoramlSkuCountParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStoreAbnoramlSkuCount(params.Ctx, params.StoreID)
|
||||
// @router /GetStoreAbnormalSkuCount [get]
|
||||
func (c *StoreSkuController) GetStoreAbnormalSkuCount() {
|
||||
c.callGetStoreAbnormalSkuCount(func(params *tStoreSkuGetStoreAbnormalSkuCountParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStoreAbnormalSkuCount(params.Ctx, params.StoreID, params.SyncStatus, params.IsBySku)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user