This commit is contained in:
gazebo
2019-11-22 10:52:42 +08:00
parent 3a032c18cd
commit 36403a3797

View File

@@ -629,10 +629,6 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act
if len(actMap) == 0 {
return 0, fmt.Errorf("找不到活动:%d或已被取消", actID)
}
if actMap[0].Status != model.ActStatusCreated {
// 如果不是正常状态直接跳过
return 0, nil
}
actStoreSkuMap, err := dao.GetActStoreSkuVendorInfo(db, actID, nil, nil, nil)
if err != nil {