|
|
|
@ -4,6 +4,7 @@ import com.fr.common.annotations.Negative;
|
|
|
|
|
import com.fr.config.ServerPreferenceConfig; |
|
|
|
|
import com.fr.general.CloudCenter; |
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
@ -32,6 +33,7 @@ public class UpmUtils {
|
|
|
|
|
Map<String, String> map4Tpl = new HashMap<>(); |
|
|
|
|
map4Tpl.put("version", ServerPreferenceConfig.getInstance().getOptimizedUPMVersion()); |
|
|
|
|
map4Tpl.put("new_version", fetchLatestVersion()); |
|
|
|
|
map4Tpl.put("designer_version", GeneralUtils.getVersion()); |
|
|
|
|
map4Tpl.put("language", GeneralContext.getLocale().toString()); |
|
|
|
|
return map4Tpl; |
|
|
|
|
} |
|
|
|
|