From 7b55f41f90322a20e96ec2f2196d67dc72488889 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 3 May 2025 00:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E6=B6=88=E6=81=AF=E6=95=B0=E9=87=8F,=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/msg.go b/dao/msg.go index afb0cf2..a0a7736 100644 --- a/dao/msg.go +++ b/dao/msg.go @@ -61,7 +61,7 @@ func GetAIStreamModelMsgCount() ([]AIStreamMsgModelIDCount, error) { return nil, db2.Error } //获取模型名称 - for i := 0; i < len(aiStreamMsgModelIDCounts); i++ { + for i, _ := range aiStreamMsgModelIDCounts { modelName := FindModelByIDV2(int(aiStreamMsgModelIDCounts[i].ModelID)) aiStreamMsgModelIDCounts[i].ModelName = modelName[0].Description }