|
@@ -187,6 +187,12 @@ func MemberCenterGetBasic(c *gin.Context) { |
|
|
if user.ParentUid > 0 { |
|
|
if user.ParentUid > 0 { |
|
|
resp.IsBindExtend = "1" |
|
|
resp.IsBindExtend = "1" |
|
|
} |
|
|
} |
|
|
|
|
|
//创始人不用弹出绑定邀请码 |
|
|
|
|
|
publicPlatoonBasicDb := implement.NewPublicPlatoonBasicSettingDb(db.Db) |
|
|
|
|
|
publicPlatoonBasic, _ := publicPlatoonBasicDb.PublicPlatoonBasicSettingGetOne() |
|
|
|
|
|
if publicPlatoonBasic != nil && int(user.Id) == publicPlatoonBasic.OriginatorUid { |
|
|
|
|
|
resp.IsBindExtend = "1" |
|
|
|
|
|
} |
|
|
resp.IsRealName = svc.CheckRealName(user.Id) |
|
|
resp.IsRealName = svc.CheckRealName(user.Id) |
|
|
e.OutSuc(c, resp, nil) |
|
|
e.OutSuc(c, resp, nil) |
|
|
return |
|
|
return |
|
|