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