From abac0b5576e1c09d92527eba292436d7d8dc1072 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 18 Jun 2021 13:51:05 +0800 Subject: [PATCH] aa --- business/jxstore/act/act.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 51a6fd386..6f2ccdac1 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -737,6 +737,9 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorID int, } } dao.Commit(db, txDB) + if !globals.IsProductEnv() { + return err + } //同步建到美团 for storeID, storeSkus := range actStoreSkuMap { if storeDetail, _ := dao.GetStoreDetail(db, storeID, vendorID, vendorOrgCode); storeDetail != nil {