mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-18 00:38:33 +08:00
update 联联平台日志
This commit is contained in:
@@ -348,6 +348,7 @@ public class LianLianController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/query_stations_info")
|
@PostMapping("/query_stations_info")
|
||||||
public CommonResult<?> query_stations_info(@RequestBody CommonParamsDTO dto) {
|
public CommonResult<?> query_stations_info(@RequestBody CommonParamsDTO dto) {
|
||||||
|
logger.info("联联平台查询充电站信息 params:{}", JSONObject.toJSONString(dto));
|
||||||
try {
|
try {
|
||||||
// 校验签名
|
// 校验签名
|
||||||
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
||||||
@@ -367,6 +368,7 @@ public class LianLianController extends BaseController {
|
|||||||
|
|
||||||
return CommonResult.success(0, "查询充电站信息成功!", map.get("Data"), map.get("Sig"));
|
return CommonResult.success(0, "查询充电站信息成功!", map.get("Data"), map.get("Sig"));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.info("联联平台查询充电站信息 error:", e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return CommonResult.failed("查询充电站信息发生异常");
|
return CommonResult.failed("查询充电站信息发生异常");
|
||||||
@@ -381,6 +383,7 @@ public class LianLianController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/query_station_status")
|
@PostMapping("/query_station_status")
|
||||||
public CommonResult<?> query_station_status(@RequestBody CommonParamsDTO dto) {
|
public CommonResult<?> query_station_status(@RequestBody CommonParamsDTO dto) {
|
||||||
|
logger.info("联联平台查询充电站状态信息 params:{}", JSONObject.toJSONString(dto));
|
||||||
try {
|
try {
|
||||||
// 校验签名
|
// 校验签名
|
||||||
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
||||||
@@ -400,6 +403,7 @@ public class LianLianController extends BaseController {
|
|||||||
|
|
||||||
return CommonResult.success(0, "查询充电站状态信息成功!", map.get("Data"), map.get("Sig"));
|
return CommonResult.success(0, "查询充电站状态信息成功!", map.get("Data"), map.get("Sig"));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.info("联联平台查询充电站状态信息 error:", e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return CommonResult.failed("查询充电站状态信息发生异常");
|
return CommonResult.failed("查询充电站状态信息发生异常");
|
||||||
@@ -414,6 +418,7 @@ public class LianLianController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/query_station_stats")
|
@PostMapping("/query_station_stats")
|
||||||
public CommonResult<?> query_station_stats(@RequestBody CommonParamsDTO dto) {
|
public CommonResult<?> query_station_stats(@RequestBody CommonParamsDTO dto) {
|
||||||
|
logger.info("联联平台查询统计信息 params:{}", JSONObject.toJSONString(dto));
|
||||||
try {
|
try {
|
||||||
// 校验签名
|
// 校验签名
|
||||||
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
Map<String, String> resultMap = lianLianService.checkoutSign(dto);
|
||||||
@@ -432,6 +437,7 @@ public class LianLianController extends BaseController {
|
|||||||
Map<String, String> map = lianLianService.query_station_stats(queryStationInfoDTO);
|
Map<String, String> map = lianLianService.query_station_stats(queryStationInfoDTO);
|
||||||
return CommonResult.success(0, "查询统计信息成功!", map.get("Data"), map.get("Sig"));
|
return CommonResult.success(0, "查询统计信息成功!", map.get("Data"), map.get("Sig"));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.info("联联平台查询统计信息 error:", e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return CommonResult.failed("查询统计信息发生异常");
|
return CommonResult.failed("查询统计信息发生异常");
|
||||||
|
|||||||
Reference in New Issue
Block a user