From 087537b4f7e77419de2779ccc4aecf410d14acbd Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 11 Dec 2024 21:56:32 +0800 Subject: [PATCH] =?utf8?q?Improve=20=E7=BB=9F=E4=B8=80=E8=90=A5=E6=94=B6?= =?utf8?q?=E6=A0=BC=E5=BC=8F=20(#130)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/Reply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reply/Reply.go b/Reply/Reply.go index 523e225..1154b96 100644 --- a/Reply/Reply.go +++ b/Reply/Reply.go @@ -440,7 +440,7 @@ func (t replyF) user_toast_msg(s string) { sh = append(sh, role_name) } if price != 0 { - sh_log = append(sh, "¥", price/1000) //不在界面显示价格 + sh_log = append(sh, fmt.Sprintf("¥%d", price/1000)) //不在界面显示价格 t.Common.Danmu_Main_mq.Push_tag(`c.Rev_add`, struct { Roomid int Rev float64 @@ -1023,7 +1023,7 @@ func (t replyF) super_chat_message(s string) { logg := sh if price != 0 { sh = append(sh, "\n") //界面不显示价格 - logg = append(logg, "¥", price) + logg = append(logg, fmt.Sprintf("¥%d", price)) t.Common.Danmu_Main_mq.Push_tag(`c.Rev_add`, struct { Roomid int Rev float64 -- 2.39.2