|
@@ -65,6 +65,23 @@ namespace Controllers
|
|
|
return SUCCESS(response);
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// app版本管理详情
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="parm">请求参数</param>
|
|
|
+ /// <returns>app版本管理详情</returns>
|
|
|
+ [HttpGet]
|
|
|
+ [Route("/v1/api/AppVersion/last")]
|
|
|
+ public IActionResult Last([FromQuery] AppVersionLastDto parm)
|
|
|
+ {
|
|
|
+ var response = _AppVersionService.Queryable()
|
|
|
+ .Where(x => x.terminalKind == parm.terminalKind)
|
|
|
+ .OrderByDescending(x => x.versionNum)
|
|
|
+ .First()
|
|
|
+ .Adapt<AppVersionQueryVo>() ?? new AppVersionQueryVo();
|
|
|
+ return SUCCESS(response);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|