- 调试DeleteSkusFromAct

This commit is contained in:
gazebo
2019-08-09 09:48:01 +08:00
parent 57b68f3155
commit 4d1c5a6704
2 changed files with 11 additions and 4 deletions

View File

@@ -842,9 +842,10 @@ func DeleteSkusFromAct(ctx *jxcontext.Context, vendorID int, skuIDs []int, isAsy
}
}
if len(deleteList) > 0 {
if err = DeleteActStoreSkuBind(ctx, db, actID, deleteList); err == nil {
_, err = SyncAct(ctx, task, actID, nil, nil, skuIDs, false)
}
globals.SugarLogger.Debug(utils.Format4Output(deleteList, false))
// if err = DeleteActStoreSkuBind(ctx, db, actID, deleteList); err == nil {
// _, err = SyncAct(ctx, task, actID, nil, nil, skuIDs, false)
// }
}
}
return retVal, err