|
|
@@ -257,7 +257,7 @@ func smallPublicPlatoon(engine *xorm.Engine, uid, recommendUid int, userPublicPl |
|
|
|
userSmallPublicPlatoonRelation.UniqueIdentifier = uniqueIdentifier |
|
|
|
userSmallPublicPlatoonRelation.WaitForSettlementDate = now.AddDate(0, 0, userPublicPlatoonSetting.SettleDay).Format("2006-01-02") |
|
|
|
userSmallPublicPlatoonRelation.JoinAt = now |
|
|
|
userSmallPublicPlatoonRelation.CreateAt = now |
|
|
|
userSmallPublicPlatoonRelation.CreateAt = now // |
|
|
|
userSmallPublicPlatoonRelation.UpdateAt = now |
|
|
|
_, err = db.UserSmallPublicPlatoonRelationInsert(engine, &userSmallPublicPlatoonRelation) |
|
|
|
if err != nil { |
|
|
|