瀏覽代碼

update 共富制度

tags/v1.2.4
DengBiao 2 年之前
父節點
當前提交
69f0b9de51
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      rule/public_platoon_relate_commission.go

+ 1
- 0
rule/public_platoon_relate_commission.go 查看文件

@@ -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…
取消
儲存