格式化

This commit is contained in:
Lemon
2023-10-14 09:30:07 +08:00
parent 881a619d16
commit 5a14be81e6

View File

@@ -82,6 +82,7 @@ public class JumpController extends BaseController {
/**
* 上传到阿里云oss
* http://localhost:8080/app-xcx-h5/uploadOSS
*
* @param file
* @return
*/
@@ -96,7 +97,7 @@ public class JumpController extends BaseController {
ajax.put("newFileName", FileUtils.getName(url));
ajax.put("originalFilename", file.getOriginalFilename());
return ajax;
}catch (Exception e){
} catch (Exception e) {
return AjaxResult.error(e.getMessage());
}
}
@@ -104,6 +105,7 @@ public class JumpController extends BaseController {
/**
* 获取地锁列表信息
* http://localhost:8080/app-xcx-h5/getGroundLockInfo/{stationId}
*
* @param stationId
* @return
*/
@@ -118,11 +120,10 @@ public class JumpController extends BaseController {
}
List<GroundLockInfoVO> list = pileBasicInfoService.getGroundLockInfo(stationId);
response = new RestApiResponse<>(list);
}catch (BusinessException e) {
} catch (BusinessException e) {
logger.error("获取地锁列表信息 error,", e);
response = new RestApiResponse<>(e.getCode(), e.getMessage());
}
catch (Exception e) {
} catch (Exception e) {
logger.error("获取地锁列表信息 error, ", e);
response = new RestApiResponse<>(e);
}