微信支付配置支持四级优先级并简化部署方式
- 微信支付配置支持按 门店 > 代理商 > 渠道 > 平台全局 四级优先级查找,不配置则兜底全局默认 - 支付回调解析优化为多商户号匹配,遍历所有ACTIVE配置逐个尝试验签解密 - 下单/查询/关单按订单组织信息查找对应支付配置 - docker-compose.yml 改为jar挂载方式部署,服务器不再需要源码和Dockerfile
This commit is contained in:
@@ -181,7 +181,7 @@ public class DayCardOrderServiceImpl extends ServiceImpl<DayCardOrderDao, DayCar
|
||||
// 7. 微信 Native 支付下单
|
||||
if (wechatPayService.isConfigured()) {
|
||||
try {
|
||||
String codeUrl = wechatPayService.createNativePay(orderNo, "天卡订单", amount);
|
||||
String codeUrl = wechatPayService.createNativePay(orderNo, "天卡订单", amount, channelOrgId, agentOrgId, storeOrgId);
|
||||
order.setCodeUrl(codeUrl);
|
||||
order.setPayChannel("WECHAT");
|
||||
UpdateWrapper<DayCardOrderEntity> payUpdate = new UpdateWrapper<>();
|
||||
@@ -316,7 +316,7 @@ public class DayCardOrderServiceImpl extends ServiceImpl<DayCardOrderDao, DayCar
|
||||
// 6.5 微信 Native 支付下单
|
||||
if (wechatPayService.isConfigured()) {
|
||||
try {
|
||||
String codeUrl = wechatPayService.createNativePay(orderNo, "天卡订单", amount);
|
||||
String codeUrl = wechatPayService.createNativePay(orderNo, "天卡订单", amount, channelOrgId, agentOrgId, storeOrgId);
|
||||
order.setCodeUrl(codeUrl);
|
||||
order.setPayChannel("WECHAT");
|
||||
UpdateWrapper<DayCardOrderEntity> payUpdate = new UpdateWrapper<>();
|
||||
|
||||
Reference in New Issue
Block a user