update 联联平台日志

This commit is contained in:
Lemon
2023-05-29 13:29:56 +08:00
parent 40be2c600c
commit d21e4d8901

View File

@@ -348,6 +348,7 @@ public class LianLianController extends BaseController {
*/
@PostMapping("/query_stations_info")
public CommonResult<?> query_stations_info(@RequestBody CommonParamsDTO dto) {
logger.info("联联平台查询充电站信息 params:{}", JSONObject.toJSONString(dto));
try {
// 校验签名
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"));
} catch (Exception e) {
logger.info("联联平台查询充电站信息 error:", e);
e.printStackTrace();
}
return CommonResult.failed("查询充电站信息发生异常");
@@ -381,6 +383,7 @@ public class LianLianController extends BaseController {
*/
@PostMapping("/query_station_status")
public CommonResult<?> query_station_status(@RequestBody CommonParamsDTO dto) {
logger.info("联联平台查询充电站状态信息 params:{}", JSONObject.toJSONString(dto));
try {
// 校验签名
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"));
} catch (Exception e) {
logger.info("联联平台查询充电站状态信息 error:", e);
e.printStackTrace();
}
return CommonResult.failed("查询充电站状态信息发生异常");
@@ -414,6 +418,7 @@ public class LianLianController extends BaseController {
*/
@PostMapping("/query_station_stats")
public CommonResult<?> query_station_stats(@RequestBody CommonParamsDTO dto) {
logger.info("联联平台查询统计信息 params:{}", JSONObject.toJSONString(dto));
try {
// 校验签名
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);
return CommonResult.success(0, "查询统计信息成功!", map.get("Data"), map.get("Sig"));
} catch (Exception e) {
logger.info("联联平台查询统计信息 error:", e);
e.printStackTrace();
}
return CommonResult.failed("查询统计信息发生异常");