银豹同步测试

This commit is contained in:
苏尹岚
2020-04-30 12:43:40 +08:00
parent e83cde6d3d
commit 626fd62c9b
3 changed files with 100 additions and 89 deletions

View File

@@ -234,6 +234,12 @@ var (
"商品名称",
"备注",
}
autoNotFoucsStoreMap = map[int]int{
667088: 667088,
model.MatterStoreID: model.MatterStoreID,
103038: 103038,
300397: 300397,
}
)
func GetStoreSkus(ctx *jxcontext.Context, storeID int, skuIDs []int, isFocus bool, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) {
@@ -3227,7 +3233,7 @@ func AutoFocusStoreSkusForTopSkus(ctx *jxcontext.Context, isAsync, isContinueWhe
skuNameMap = make(map[int]int)
)
//物料店不自动关注畅销品
if v.ID == model.MatterStoreID {
if autoNotFoucsStoreMap[v.ID] != 0 {
return retVal, err
}
sql := `