Browse Source

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

Merge in DESIGN/design from ~DESTINY.LIN/design:final/11.0 to final/11.0

* commit '70e2c864c2d3357a0d0885e8d17b6e4144de6eef':
  REPORT-114522 /remote/design/service接口可以未鉴权获取源码信息
final/11.0
Destiny.Lin-林锦龙 9 months ago
parent
commit
b3d8d8e830
  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(); 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

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