1
This commit is contained in:
@@ -183,6 +183,7 @@ func createOneShopAct(act *model.Act2, vendorStoreID string, actStoreSku []*mode
|
||||
ErrMsg: fmt.Sprintf("%v", err1),
|
||||
StoreID: int(utils.Str2Int64WithDefault(vendorStoreID, 0)),
|
||||
})
|
||||
globals.SugarLogger.Debugf("我在failedList=%s", utils.Format4Output(failedList, false), err1)
|
||||
return failedList, err1
|
||||
}
|
||||
//活动增加商品
|
||||
@@ -324,6 +325,7 @@ func (c *PurchaseHandler) SyncAct(ctx *jxcontext.Context, parentTask tasksch.ITa
|
||||
updateItems = append(updateItems, partner.Act2Update(ctx, act, model.SyncFlagModifiedMask))
|
||||
}
|
||||
} else if model.IsSyncStatusNew(act.SyncStatus) {
|
||||
globals.SugarLogger.Debugf("我进入这里了createSkuAct")
|
||||
createdList, err2 := createSkuAct(ctx, nil, act, actStoreSkuList4Create)
|
||||
updateItems = append(updateItems, partner.ActStoreSku2Update(ctx, createdList, model.SyncFlagNewMask)...)
|
||||
if err = err2; err == nil {
|
||||
|
||||
Reference in New Issue
Block a user