- add Promotion CreateType
This commit is contained in:
@@ -295,9 +295,11 @@ func CreateJdPromotion(ctx *jxcontext.Context, isIDJd bool, isAsync, isContinueW
|
||||
Status: model.PromotionStatusLocalCreated,
|
||||
BeginAt: params.BeginAt,
|
||||
EndAt: params.EndAt,
|
||||
CreateType: model.PromotionCreateTypeByJX,
|
||||
}
|
||||
if vendorPromotionID != "" {
|
||||
promotion.VendorPromotionID = vendorPromotionID
|
||||
promotion.CreateType = model.PromotionCreateTypeByVendor
|
||||
}
|
||||
dao.WrapAddIDCULDEntity(promotion, userName)
|
||||
// if promotion.Params, err = jxutils.SerializeData(params); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user