|
|
|
@ -11,16 +11,14 @@ import com.fr.design.mainframe.alphafine.search.manager.fun.AlphaFineSearchProvi
|
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.general.http.HttpToolbox; |
|
|
|
|
import com.fr.json.JSONArray; |
|
|
|
|
import com.fr.json.JSONException; |
|
|
|
|
import com.fr.json.JSONObject; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.plugin.basic.version.Version; |
|
|
|
|
import com.fr.plugin.basic.version.VersionCompatibleType; |
|
|
|
|
import com.fr.plugin.basic.version.VersionIntervalType; |
|
|
|
|
import com.fr.plugin.basic.version.VersionIntervalFactory; |
|
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
|
import com.fr.stable.EncodeConstants; |
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.io.UnsupportedEncodingException; |
|
|
|
|
import java.net.URLEncoder; |
|
|
|
|
|
|
|
|
@ -45,7 +43,7 @@ public class PluginSearchManager implements AlphaFineSearchProvider {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static boolean isCompatibleCurrentEnv(String envVersion) { |
|
|
|
|
return VersionCompatibleType.isSupported(VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion())); |
|
|
|
|
return VersionIntervalType.isSupported(VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static PluginModel getPluginModel(JSONObject object, boolean isFromCloud) { |
|
|
|
|