Browse Source

update 共富制度

tags/v1.2.4
DengBiao 2 years ago
parent
commit
69f0b9de51
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      rule/public_platoon_relate_commission.go

+ 1
- 0
rule/public_platoon_relate_commission.go View File

@@ -243,6 +243,7 @@ func publicPlatoon(engine *xorm.Engine, uid, recommendUid int, userPublicPlatoon
userPublicPlatoonRelation.JoinAt = now
userPublicPlatoonRelation.CreateAt = now
userPublicPlatoonRelation.UpdateAt = now
userPublicPlatoonRelation.NewestPublicPlatoon = 1
_, err = db.UserPublicPlatoonRelationInsert(engine, &userPublicPlatoonRelation)
if err != nil {
return model.UserPublicPlatoonRelation{}, err


Loading…
Cancel
Save