Commit e137b29d by guojx

Merge branch 'feature-2024-11-05-add-store-status-filter' into 'developer'

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

See merge request !2290
parents 36b8baff 4b92dc1a
......@@ -1816,7 +1816,8 @@ public class WxStaffController extends WebBaseController {
List<String> storeIdList = this.staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId,
StoreStatusFilterUtils.getStoreStatusList(storeStatusFilter), null);
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<>();
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