第三方联联平台新增运营商上海派荷科技有限公司

This commit is contained in:
YAS\29473
2025-09-11 08:49:16 +08:00
parent 9090ab26b0
commit e1f732c12c
4 changed files with 24 additions and 1 deletions

View File

@@ -348,6 +348,10 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
if (MerchantUtils.isZhiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))) {
stationInfo.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
if( MerchantUtils.isPaiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))){
stationInfo.setEquipmentOwnerID(Constants.OPERATORID_PAI_HE);
}
List<EquipmentInfo> pileList = pileBasicInfoService.getPileListForLianLian(stationId);
if (CollectionUtils.isNotEmpty(pileList)) {
@@ -621,6 +625,10 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
if (MerchantUtils.isZhiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))) {
info.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
if( MerchantUtils.isPaiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))){
info.setEquipmentOwnerID(Constants.OPERATORID_PAI_HE);
}
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
info.setPayment(payment);
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
@@ -982,6 +990,10 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
logger.info("订单号:{} 为之禾运营商订单", orderBasicInfo.getOrderCode());
orderInfo.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
if( MerchantUtils.isPaiHeMerchant(String.valueOf(orderBasicInfo.getMerchantId()))){
orderInfo.setEquipmentOwnerID(Constants.OPERATORID_PAI_HE);
}
// 支付方式
if (StringUtils.equals(orderBasicInfo.getPayMode(), OrderPayModeEnum.PAYMENT_OF_WECHATPAY.getValue())) {
// 微信支付

View File

@@ -156,7 +156,7 @@ public class HttpRequestUtil {
String postData = JSON.toJSONString(params);
// log.info(label + "发送请求 最终提交数据:{}, 加密数据:{}", params, postData);
log.info("[{}]准备发送请求, 原始data:{}, 请求param:{}", label, data, postData);
log.info("[{}]准备发送请求, 原始data:{}, 请求param:{},token:{}", label, data, postData,token);
String response = HttpRequest.post(url).header("Authorization", "Bearer " + token).body(postData).execute().body();