From 559c5b7f2b3f10137be748c0f810c6599f49888b Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 21 Jun 2021 13:31:47 +0800 Subject: [PATCH] aa --- business/jxstore/act/act.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 7e1589c24..8f210537f 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -651,7 +651,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i err2 = "" vendorID int ) - if len(vendorIDs) > 0 { + if len(vendorIDs) > 1 { return fmt.Errorf("只允许单平台创建!") } vendorID = vendorIDs[0]