Commit 276c78a7 by zhiwj

代码结构调整

parent 8cc02a2a
......@@ -414,7 +414,7 @@ public class ResourceApiServiceImpl implements ResourceApiService {
if (Integer.valueOf(0).equals(widgetDTO.getAuthMode())) {
return EnterpriseServiceResponse.success();
} else {
return EnterpriseServiceResponse.success(resource.getUserResource());
return EnterpriseServiceResponse.success(StringUtils.equals(widgetDTO.getSearchParams(), "[{\"type\":\"or\",\"list\":[]}]") ? -1 : resource.getUserResource());
}
}
......
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