|
@@ -98,8 +98,8 @@ public class IotAppController {
|
|
|
@GetMapping("/new")
|
|
|
@Operation(summary = "获取最新app版本信息")
|
|
|
@PermitAll
|
|
|
- public IotAppRespVO getNewIotAppRespVO() {
|
|
|
+ public CommonResult<IotAppRespVO> getNewIotAppRespVO() {
|
|
|
IotAppDO aNew = iotAppService.getNew();
|
|
|
- return BeanUtils.toBean(aNew, IotAppRespVO.class);
|
|
|
+ return success(BeanUtils.toBean(aNew, IotAppRespVO.class));
|
|
|
}
|
|
|
}
|