From 268c20c2c90d5609b84100305eb1eb105ffdcda1 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 17 Jul 2023 18:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txop/msg/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txop/msg/msg.go b/txop/msg/msg.go index 3cc6c22..2a7cd79 100644 --- a/txop/msg/msg.go +++ b/txop/msg/msg.go @@ -71,7 +71,7 @@ func NewAlertErrByLanguage(model *domain.Model, msgId1, msgId2 common.MsgIdType, } } if resMul, _ := res_m.GetResMultiTextBy(model, msgId2, lang); resMul != nil { - if len(args1) > 0 { + if len(args2) > 0 { content = fmt.Sprintf(resMul.Content, args2...) } else { content = resMul.Content -- 2.22.0