修复在活动中强行添加VendorIDJX导致的bug

This commit is contained in:
gazebo
2019-09-30 12:10:15 +08:00
parent ff9c21fbe4
commit e876031a21

View File

@@ -74,7 +74,6 @@ func init() {
func ActStoreSkuParam2Model(ctx *jxcontext.Context, db *dao.DaoDB, act *model.Act, vendorIDs []int, actStoreSku []*ActStoreSkuParam) (validVendorIDs []int, actStoreSkuList []*model.ActStoreSku, actStoreSkuMapList []*model.ActStoreSkuMap, err error) {
wholeValidVendorMap := make(map[int]int)
wholeValidVendorMap[model.VendorIDJX] = 1
if len(actStoreSku) > 0 {
storeIDMap := make(map[int]int)
skuIDMap := make(map[int]int)