From 7d73f2036df2848bf106799f3172fc93e2fe4889 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Sat, 26 Oct 2024 13:44:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ranksrv/rank/invitelog.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ranksrv/rank/invitelog.go b/ranksrv/rank/invitelog.go index c9bd649..82a4abe 100644 --- a/ranksrv/rank/invitelog.go +++ b/ranksrv/rank/invitelog.go @@ -66,11 +66,13 @@ func RobotRandon() { for i := 0; i < robotNum; i++ { //随机机器人 snId := accounts[rand.Intn(len(accounts))].SnId + num := int64(rand.Intn(8) + 1) + score := num*50 + int64(rand.Intn(551)+50) data := model.RankInvite{ Platform: "1", SnId: snId, - Num: int64(rand.Intn(4) + 2), - Score: int64(rand.Intn(901) + 100), + Num: num, + Score: score, Ts: time.Now().Unix(), Week: common.GetWeekStartTs(time.Now().Unix()), }