新版邀请活动充值给自己加积分
This commit is contained in:
parent
670726980e
commit
79e207ebf9
|
|
@ -104,6 +104,7 @@ func SaveInviteScore(req *model.InviteScore, rechargeScore int64) (b bool, err e
|
||||||
}
|
}
|
||||||
// 自己加积分
|
// 自己加积分
|
||||||
err = c.Insert(&model.InviteScore{
|
err = c.Insert(&model.InviteScore{
|
||||||
|
Id: bson.NewObjectId(),
|
||||||
Platform: req.Platform,
|
Platform: req.Platform,
|
||||||
SnId: req.SnId,
|
SnId: req.SnId,
|
||||||
InviteSnId: req.InviteSnId,
|
InviteSnId: req.InviteSnId,
|
||||||
|
|
@ -128,6 +129,7 @@ func SaveInviteScore(req *model.InviteScore, rechargeScore int64) (b bool, err e
|
||||||
if req.Tp == common.InviteScoreTypePay {
|
if req.Tp == common.InviteScoreTypePay {
|
||||||
// 自己加积分
|
// 自己加积分
|
||||||
err = c.Insert(&model.InviteScore{
|
err = c.Insert(&model.InviteScore{
|
||||||
|
Id: bson.NewObjectId(),
|
||||||
Platform: req.Platform,
|
Platform: req.Platform,
|
||||||
SnId: req.SnId,
|
SnId: req.SnId,
|
||||||
InviteSnId: req.InviteSnId,
|
InviteSnId: req.InviteSnId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue