From 4de91f429887aeccffb0a8644e5b43a3dc5a2d3f Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 25 Jun 2019 18:22:15 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BA=AC=E8=A5=BF=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=BB=9F=E4=B8=80=E4=B8=BA=E6=AD=A3=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/promotion/jd_promotion.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/promotion/jd_promotion.go b/business/jxstore/promotion/jd_promotion.go index 8abb597aa..67deb83c0 100644 --- a/business/jxstore/promotion/jd_promotion.go +++ b/business/jxstore/promotion/jd_promotion.go @@ -373,6 +373,8 @@ func CreateJdPromotion(ctx *jxcontext.Context, vendorID int, isIDJd bool, isAsyn if len(promotionPrices) == 0 { return "", ErrEmptySkus } + } else { + promotion.Status = model.PromotionStatusRemoteCreated } } else { promotion.VendorPromotionID = vendorPromotionID