瀏覽代碼

feat:取消管理员过滤

duxin 2 年之前
父節點
當前提交
cbe85bc9a5
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      jyBXSubscribe/rpc/internal/logic/getdistributorlogic.go

+ 0 - 3
jyBXSubscribe/rpc/internal/logic/getdistributorlogic.go

@@ -42,9 +42,6 @@ func (l *GetDistributorLogic) GetDistributor(in *bxsubscribe.GetDistributorReq)
 	}
 	if len(users) > 0 {
 		for _, v := range users {
-			if in.SelectIds != "1" && v.Id == common.IntAll(in.EntUserId) {
-				continue
-			}
 			var data bxsubscribe.UserResp
 			data.Id = common.Int64All(v.Id)
 			data.Name = v.Name