From 06c89f1e726e84c67abba6893d62abdd025b8791 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 31 十月 2023 20:01:47 +0800
Subject: [PATCH] 支持职级降级的情况

---
 api/v1/client.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/v1/client.go b/api/v1/client.go
index d7dc42e..c149aea 100644
--- a/api/v1/client.go
+++ b/api/v1/client.go
@@ -220,7 +220,7 @@
 		if params.SearchMap == nil {
 			params.SearchMap = make(map[string]interface{}, 0)
 		}
-		params.SearchMap["member_id"] = userInfo.CrmUserId
+		params.SearchMap["member_ids"] = userInfo.SubUserIds
 	}
 
 	clients, total, errCode := clientService.GetClientList(params.Page, params.PageSize, params.SearchMap)

--
Gitblit v1.8.0