From 79e207ebf95e1314b5596a83d10d27772bfa9c26 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 26 Jun 2024 18:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=82=80=E8=AF=B7=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E5=85=85=E5=80=BC=E7=BB=99=E8=87=AA=E5=B7=B1=E5=8A=A0?= =?UTF-8?q?=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbproxy/svc/l_invitescore.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbproxy/svc/l_invitescore.go b/dbproxy/svc/l_invitescore.go index 22970f4..a09bb62 100644 --- a/dbproxy/svc/l_invitescore.go +++ b/dbproxy/svc/l_invitescore.go @@ -104,6 +104,7 @@ func SaveInviteScore(req *model.InviteScore, rechargeScore int64) (b bool, err e } // 自己加积分 err = c.Insert(&model.InviteScore{ + Id: bson.NewObjectId(), Platform: req.Platform, SnId: req.SnId, InviteSnId: req.InviteSnId, @@ -128,6 +129,7 @@ func SaveInviteScore(req *model.InviteScore, rechargeScore int64) (b bool, err e if req.Tp == common.InviteScoreTypePay { // 自己加积分 err = c.Insert(&model.InviteScore{ + Id: bson.NewObjectId(), Platform: req.Platform, SnId: req.SnId, InviteSnId: req.InviteSnId,