|
|
@@ -206,7 +206,6 @@ func GetMyIntroListByInviteId(inviteId, page, perPage int64, useCache bool) (lis
|
|
|
b.total,
|
|
|
a.nickname,
|
|
|
a.head,
|
|
|
- a.id,
|
|
|
a.sale_group,
|
|
|
a.sale_group_sum,
|
|
|
a.id,
|
|
|
@@ -232,7 +231,7 @@ func GetMyIntroListByInviteId(inviteId, page, perPage int64, useCache bool) (lis
|
|
|
//代理状态判断---普通会员(status=0),则显示 申请代理
|
|
|
if item.ShowInviteMode == 0 {
|
|
|
item.Status = 0
|
|
|
- record := GetAgentApplyByWxUId(item.WxUId)
|
|
|
+ record := GetAgentApplyByWxUId(item.Id)
|
|
|
if record != nil {
|
|
|
item.Status = 1
|
|
|
}
|
|
|
@@ -412,7 +411,7 @@ func GetMyMonthIntroListByInviteId(inviteId int64, page, perPage int64, createTi
|
|
|
//代理状态判断---普通会员(status=0),则显示 申请代理
|
|
|
if item.ShowInviteMode == 0 {
|
|
|
item.Status = 0
|
|
|
- record := GetAgentApplyByWxUId(item.WxUId)
|
|
|
+ record := GetAgentApplyByWxUId(item.Id)
|
|
|
if record != nil {
|
|
|
item.Status = 1
|
|
|
}
|