update 设备状态变化推送联联平台接口

This commit is contained in:
Lemon
2023-05-26 09:40:24 +08:00
parent 0362095a10
commit 742b4a1b02
6 changed files with 55 additions and 12 deletions

View File

@@ -227,8 +227,8 @@ public class PileStationInfoController extends BaseController {
if (StringUtils.isBlank(String.valueOf(dto.getStationId()))) {
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
}
lianLianService.pushStationInfo(dto);
response = new RestApiResponse<>();
String result = lianLianService.pushStationInfo(dto);
response = new RestApiResponse<>(result);
}catch (BusinessException e) {
logger.error("推送联联平台充电站信息 error",e);
response = new RestApiResponse<>(e.getCode(), e.getMessage());