mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-10 17:19:36 +08:00
格式化
This commit is contained in:
@@ -82,6 +82,7 @@ public class JumpController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 上传到阿里云oss
|
* 上传到阿里云oss
|
||||||
* http://localhost:8080/app-xcx-h5/uploadOSS
|
* http://localhost:8080/app-xcx-h5/uploadOSS
|
||||||
|
*
|
||||||
* @param file
|
* @param file
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@@ -96,7 +97,7 @@ public class JumpController extends BaseController {
|
|||||||
ajax.put("newFileName", FileUtils.getName(url));
|
ajax.put("newFileName", FileUtils.getName(url));
|
||||||
ajax.put("originalFilename", file.getOriginalFilename());
|
ajax.put("originalFilename", file.getOriginalFilename());
|
||||||
return ajax;
|
return ajax;
|
||||||
}catch (Exception e){
|
} catch (Exception e) {
|
||||||
return AjaxResult.error(e.getMessage());
|
return AjaxResult.error(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -104,6 +105,7 @@ public class JumpController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 获取地锁列表信息
|
* 获取地锁列表信息
|
||||||
* http://localhost:8080/app-xcx-h5/getGroundLockInfo/{stationId}
|
* http://localhost:8080/app-xcx-h5/getGroundLockInfo/{stationId}
|
||||||
|
*
|
||||||
* @param stationId
|
* @param stationId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@@ -118,11 +120,10 @@ public class JumpController extends BaseController {
|
|||||||
}
|
}
|
||||||
List<GroundLockInfoVO> list = pileBasicInfoService.getGroundLockInfo(stationId);
|
List<GroundLockInfoVO> list = pileBasicInfoService.getGroundLockInfo(stationId);
|
||||||
response = new RestApiResponse<>(list);
|
response = new RestApiResponse<>(list);
|
||||||
}catch (BusinessException e) {
|
} catch (BusinessException e) {
|
||||||
logger.error("获取地锁列表信息 error,", e);
|
logger.error("获取地锁列表信息 error,", e);
|
||||||
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
||||||
}
|
} catch (Exception e) {
|
||||||
catch (Exception e) {
|
|
||||||
logger.error("获取地锁列表信息 error, ", e);
|
logger.error("获取地锁列表信息 error, ", e);
|
||||||
response = new RestApiResponse<>(e);
|
response = new RestApiResponse<>(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user