mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-10 00:48:12 +08:00
格式化
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user