Browse Source

REPORT-114522 /remote/design/service接口可以未鉴权获取源码信息

final/11.0
Destiny.Lin 9 months ago
parent
commit
70e2c864c2
  1. 2
      designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java
  2. 2
      designer-base/src/main/java/com/fr/design/versioncheck/VersionCheckUtils.java

2
designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java

@ -431,7 +431,7 @@ public class EnvChangeEntrance {
Set<Class> localServiceSet = FineObjectPool.getInstance().getServerPool().keySet();
try {
JSONArray serviceArray = new FunctionalHttpRequest(info).getServiceList();
JSONArray serviceArray = new FunctionalHttpRequest(info).getServiceList(info);
for (int i = 0; i < serviceArray.size(); i++) {
try {
Class clazz = Class.forName((String) serviceArray.get(i));

2
designer-base/src/main/java/com/fr/design/versioncheck/VersionCheckUtils.java

@ -228,7 +228,7 @@ public class VersionCheckUtils {
Set<Class> localServiceSet = FineObjectPool.getInstance().getServerPool().keySet();
try {
JSONArray serviceArray = new FunctionalHttpRequest(info).getServiceList();
JSONArray serviceArray = new FunctionalHttpRequest(info).getServiceList(info);
for (int i = 0; i < serviceArray.size(); i++) {
try {
Class clazz = Class.forName((String) serviceArray.get(i));

Loading…
Cancel
Save