abiao лет назад: 4
Родитель
Сommit
9afa4d2f77
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      go/gopath/src/fohow.com/apps/models/user_model/invite.go

+ 2 - 3
go/gopath/src/fohow.com/apps/models/user_model/invite.go

@@ -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
 			}