mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -583,6 +583,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
*/
|
||||
@Override
|
||||
public String notificationChargeOrderInfo(String orderCode) {
|
||||
logger.info("青海省平台 推送充电订单信息 start");
|
||||
// 通过订单号查询订单信息
|
||||
OrderVO orderVO = orderBasicInfoService.getChargeOrderInfoByOrderCode(orderCode);
|
||||
BigDecimal startSoc = orderVO.getStartSoc() == null ? BigDecimal.ZERO : new BigDecimal(orderVO.getStartSoc());
|
||||
@@ -643,6 +644,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
// 获取令牌
|
||||
String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret);
|
||||
if (StringUtils.isBlank(token)) {
|
||||
logger.info("青海平台获取token为空");
|
||||
return null;
|
||||
}
|
||||
// 封装参数
|
||||
|
||||
Reference in New Issue
Block a user