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 {