From f8c118c3bb1852fac0dafae02f32c318f14980de Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 5 Sep 2023 13:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=81=E5=8C=A0=E9=93=BA=E8=97=8F=E5=93=81?= =?UTF-8?q?=E5=9B=BE=E9=89=B4=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/module.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/smithy/module.go b/modules/smithy/module.go index b1eb5af62..008fdadbe 100644 --- a/modules/smithy/module.go +++ b/modules/smithy/module.go @@ -107,12 +107,11 @@ func (this *Smithy) CheckActivateAtlasCollect(uid string, id string) { } } } else { - if list, err := this.modelAtlas.getSmithyAtlasList(uid); err == nil { if _, ok := list.Collect[id]; !ok { list.Collect[id] = &pb.CollectData{ Id: id, - Score: 0, + Score: atlasConf.AtlasScore, Time: configure.Now().Unix(), Activate: false, }