mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
打印日志
This commit is contained in:
@@ -63,7 +63,7 @@ public class PileController extends BaseController {
|
||||
*/
|
||||
@PostMapping("/queryStationInfos")
|
||||
public RestApiResponse<?> queryStationInfos(HttpServletRequest request, @RequestBody QueryStationDTO queryStationDTO) {
|
||||
logger.info("查询充电站信息列表 param:{}", JSON.toJSONString(queryStationDTO));
|
||||
// logger.info("查询充电站信息列表 param:{}", JSON.toJSONString(queryStationDTO));
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
// 获取appid(第三方平台用)
|
||||
@@ -73,7 +73,7 @@ public class PileController extends BaseController {
|
||||
List<String> deptIds = pileMerchantInfoService.getDeptIdsByAppId(appId);
|
||||
queryStationDTO.setMerchantDeptIds(deptIds);
|
||||
}
|
||||
logger.info("uniApp查询充电站信息appId:{}, dto:{}", appId, JSON.toJSONString(queryStationDTO));
|
||||
logger.debug("uniApp查询充电站信息appId:{}, dto:{}", appId, JSON.toJSONString(queryStationDTO));
|
||||
PageResponse pageResponse = pileStationInfoService.uniAppQueryStationInfoList(queryStationDTO);
|
||||
response = new RestApiResponse<>(pageResponse);
|
||||
} catch (BusinessException e) {
|
||||
@@ -83,7 +83,7 @@ public class PileController extends BaseController {
|
||||
logger.error("查询充电站信息列表异常 error", e);
|
||||
response = new RestApiResponse<>(ReturnCodeEnum.CODE_GET_PILE_STATION_INFO_ERROR);
|
||||
}
|
||||
logger.info("查询充电站信息列表 result:{}", JSON.toJSONString(response));
|
||||
logger.debug("查询充电站信息列表 param:{}, result:{}", JSON.toJSONString(queryStationDTO), JSON.toJSONString(response));
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user