Commit 82449249 authored by 赵啸非's avatar 赵啸非

添加应用白名单接口

parent 54f09aa0
Pipeline #2483 failed with stages
...@@ -358,6 +358,7 @@ public class HomeController extends BaseJsonBodyController { ...@@ -358,6 +358,7 @@ public class HomeController extends BaseJsonBodyController {
try { try {
AppPdu appPdu = new AppPdu(); AppPdu appPdu = new AppPdu();
appPdu.setSiteId(siteId); appPdu.setSiteId(siteId);
appPdu.setSize(-1);
Rest<RespData<List<AppPdu>>> appRest = appFeign.list(appPdu); Rest<RespData<List<AppPdu>>> appRest = appFeign.list(appPdu);
if (appRest.getCode() == YesNoEnum.YES.getValue()) { if (appRest.getCode() == YesNoEnum.YES.getValue()) {
collect = appRest.getData().getData().stream().filter(f -> appWhiteSet.contains(f.getAppName())).collect(Collectors.toList()); collect = appRest.getData().getData().stream().filter(f -> appWhiteSet.contains(f.getAppName())).collect(Collectors.toList());
......
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