Browse Source

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

Merge in DESIGN/design from ~DESTINY.LIN/design:bugfix/10.0 to bugfix/10.0

* commit '3e17752c77377137be0b62782a1d31eb66ffc8d6':
  REPORT-114522 /remote/design/service接口可以未鉴权获取源码信息 同步10.0
bugfix/10.0
Destiny.Lin-林锦龙 9 months ago
parent
commit
c32e841a97
  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();
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

@ -215,7 +215,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