mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-02 13:07:57 +08:00
update
This commit is contained in:
@@ -47,7 +47,6 @@ public class RemoteStartChargingRequestHandler extends AbstractYkcHandler {
|
||||
|
||||
@Override
|
||||
public byte[] supplyProcess(YKCDataProtocol ykcDataProtocol, ChannelHandlerContext channel) {
|
||||
|
||||
// log.info("[===远程启动充电命令回复===] param:{}, channel:{}", JSON.toJSONString(ykcDataProtocol), channel.toString());
|
||||
// 消息体
|
||||
byte[] msgBody = ykcDataProtocol.getMsgBody();
|
||||
|
||||
@@ -629,9 +629,11 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
orderInfo.setChargeStartTime(new Date());
|
||||
}
|
||||
updateOrderBasicInfo(orderInfo);
|
||||
|
||||
// 发送小程序通知
|
||||
wxAppletRemoteService.startChargingSendMsg(orderInfo);
|
||||
// 判断是否要向小程序发送通知
|
||||
if (StringUtils.isNotEmpty(orderInfo.getMemberId())){
|
||||
// 发送小程序通知
|
||||
wxAppletRemoteService.startChargingSendMsg(orderInfo);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -166,7 +166,10 @@ public class NotificationService {
|
||||
try {
|
||||
// 根据平台类型获取Service
|
||||
ThirdPartyPlatformService platformService = ThirdPartyPlatformFactory.getInvokeStrategy(secretInfoVO.getPlatformType());
|
||||
//充电订单信息推送
|
||||
platformService.notificationChargeOrderInfo(orderCode, secretInfoVO);
|
||||
//订单信息推送
|
||||
platformService.notificationChargeOrderInfo(orderCode);
|
||||
} catch (Exception e) {
|
||||
logger.error("充电订单信息推送error", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user