修正minimumPrice\highestPrice查询

This commit is contained in:
平凡梦
2020-07-08 16:57:48 +08:00
parent 012362f21f
commit 4bbfe12171

View File

@@ -472,6 +472,8 @@ func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus, isHi
}
func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus, isHighPrice bool, priceType int, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) {
globals.SugarLogger.Debug("params的值打印位置")
globals.SugarLogger.Debug(params)
if !isFocus && !isBySku && (len(storeIDs) > 1 || len(storeIDs) == 0) {
return nil, fmt.Errorf("未关注按SkuName只能查询单店")
}