饿鲜达创建门店商品优化
This commit is contained in:
@@ -20,7 +20,6 @@ import (
|
||||
|
||||
const (
|
||||
defVendorCatID = 201222934 // 其他蔬菜
|
||||
exdStoreName = "饿鲜达"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -148,8 +147,7 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
|
||||
isExd bool = false
|
||||
customSkuID int64
|
||||
)
|
||||
store, _ := dao.GetStoreDetail(dao.GetDB(), storeSku.StoreID, model.VendorIDEBAI)
|
||||
if strings.Contains(store.Name, exdStoreName) {
|
||||
if strings.Contains(storeSku.StoreName, model.ExdStoreName) {
|
||||
isExd = true
|
||||
customSkuID = utils.Str2Int64(storeSku.ExdSkuID)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user