|
|
@ -710,7 +710,7 @@ public class AppController extends BaseController
|
|
|
|
@Log(title = "APP查询版本信息", businessType = BusinessType.OTHER)
|
|
|
|
@Log(title = "APP查询版本信息", businessType = BusinessType.OTHER)
|
|
|
|
@GetMapping("/version/info")
|
|
|
|
@GetMapping("/version/info")
|
|
|
|
public AjaxResult queryVersionInformation(){
|
|
|
|
public AjaxResult queryVersionInformation(){
|
|
|
|
String localPath = RuoYiConfig.getProfile();
|
|
|
|
String localPath = RuoYiConfig.getAppInfoPath();
|
|
|
|
String file = FileUtils.readJsonFile(localPath + "appVersion.json");
|
|
|
|
String file = FileUtils.readJsonFile(localPath + "appVersion.json");
|
|
|
|
return AjaxResult.success(JSONObject.parseObject(file));
|
|
|
|
return AjaxResult.success(JSONObject.parseObject(file));
|
|
|
|
}
|
|
|
|
}
|
|
|
|