|
|
|
@ -108,7 +108,7 @@ func (o logic) Vip(args AppUserReq) error {
|
|
|
|
|
Identifier: time.Now().Format("060102") + rd,
|
|
|
|
|
Level: 2,
|
|
|
|
|
ParentID: 0,
|
|
|
|
|
RootID: 3212341,
|
|
|
|
|
RootID: 3238368,
|
|
|
|
|
IsOffline: true,
|
|
|
|
|
UpgradeTime2: formatime.NewSecondNow(),
|
|
|
|
|
InvitationNo: baseCode.Encode(uint64(lastId)),
|
|
|
|
@ -145,7 +145,7 @@ func (o logic) Vip(args AppUserReq) error {
|
|
|
|
|
if err := tx.Model(&u).Updates(map[string]interface{}{
|
|
|
|
|
"level": 2,
|
|
|
|
|
"parent_id": 0,
|
|
|
|
|
"root_id": 3212341,
|
|
|
|
|
"root_id": 3238368,
|
|
|
|
|
"upgrade_time1": formatime.NewSecondNow(),
|
|
|
|
|
"is_offline": true,
|
|
|
|
|
}).Error; err != nil {
|
|
|
|
|