- 当创建平台活动失败时,尽量清除

This commit is contained in:
gazebo
2019-07-05 09:06:24 +08:00
parent 512df1942a
commit 0d7ba8257e
3 changed files with 7 additions and 2 deletions

View File

@@ -173,6 +173,9 @@ func createSkuAct(ctx *jxcontext.Context, act *model.Act2, actStoreSku []*model.
}
}
}
if err != nil {
CancelPromotion(act.Type, infoID, "", traceID)
}
}
return vendorActID, err
}