This commit is contained in:
linfso 2024-06-16 11:57:20 +08:00
parent 05520044ac
commit cb887633ad

View File

@ -132,8 +132,10 @@ public class EmisCommonController extends EmisBaseController
public AjaxResult getLastAppVersion() public AjaxResult getLastAppVersion()
{ {
try { try {
String LastAppVersion = configService.selectConfigByKey("sys.app.version"); String lastAppVersionStr = configService.selectConfigByKey("sys.app.version");
return AjaxResult.success("获取成功",LastAppVersion); JSONObject obj=JSONObject.parseObject(lastAppVersionStr);
return AjaxResult.success("获取成功",obj);
}catch (Exception ex){ }catch (Exception ex){
ex.printStackTrace(); ex.printStackTrace();