Browse Source

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

bugfix/10.0
Destiny.Lin 10 months ago
parent
commit
3e17752c77
  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

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

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

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

Loading…
Cancel
Save