diff --git a/rule/public_platoon_relate_commission.go b/rule/public_platoon_relate_commission.go index 333a2a5..c94cd12 100644 --- a/rule/public_platoon_relate_commission.go +++ b/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