Commit 4b92dc1a by guojx

如果没有权限,则返回空数组

parent 898b8726
...@@ -1829,7 +1829,8 @@ public class WxStaffController extends WebBaseController { ...@@ -1829,7 +1829,8 @@ public class WxStaffController extends WebBaseController {
List<String> storeIdList = this.staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId, List<String> storeIdList = this.staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId,
StoreStatusFilterUtils.getStoreStatusList(storeStatusFilter), null); StoreStatusFilterUtils.getStoreStatusList(storeStatusFilter), null);
if (CollectionUtils.isNotEmpty(storeIdList) && storeIdList.contains("no_store")) { if (CollectionUtils.isNotEmpty(storeIdList) && storeIdList.contains("no_store")) {
return RestResponse.failure("-1", "无授权门店"); // return RestResponse.failure("-1", "无授权门店");
return RestResponse.successResult(new ArrayList<>());
} }
List<StoreListVO> voList = new ArrayList<>(); List<StoreListVO> voList = new ArrayList<>();
int totalCount = 0; int totalCount = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment