diff --git a/app/hdl/hdl_member_center.go b/app/hdl/hdl_member_center.go index c6df992..6f0fd73 100644 --- a/app/hdl/hdl_member_center.go +++ b/app/hdl/hdl_member_center.go @@ -187,6 +187,12 @@ func MemberCenterGetBasic(c *gin.Context) { if user.ParentUid > 0 { 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) e.OutSuc(c, resp, nil) return