parent
8b320a0f18
commit
717e9a9dd8
|
|
@ -73,6 +73,7 @@ public class DfpOpenPayServiceImpl implements IDfpOpenPayService {
|
|||
Map<String, String> bodyParams = baseBodyParams(outTradeNo, validate.getAmountFen(), bodyText, notifyUrl);
|
||||
bodyParams.put("service", "pay.weixin.jspay");
|
||||
bodyParams.put("is_minipg", "1");
|
||||
bodyParams.put("is_raw", "1");
|
||||
bodyParams.put("sub_appid", subAppId);
|
||||
bodyParams.put("sub_openid", openId);
|
||||
|
||||
|
|
@ -167,7 +168,7 @@ public class DfpOpenPayServiceImpl implements IDfpOpenPayService {
|
|||
}
|
||||
|
||||
// 正式规则:QDKXJG-YBMJF-序号(序号=自增ID)
|
||||
String outTradeNo = "QDKXJG-YBMJF-" + created.getId();
|
||||
String outTradeNo = "QDKXJG_YBMJF_" + created.getId();
|
||||
created.setOutTradeNo(outTradeNo);
|
||||
enrollmentPayOrderMapper.updateById(created);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ like:
|
|||
|
||||
# 框架配置
|
||||
spring:
|
||||
jackson:
|
||||
property-naming-strategy: SNAKE_CASE #下划线返回值和获取值
|
||||
# jackson:
|
||||
# property-naming-strategy: SNAKE_CASE #下划线返回值和获取值
|
||||
# 数据源配置
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/la?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
|
||||
|
|
|
|||
|
|
@ -113,6 +113,6 @@ dfp-open:
|
|||
appId: wxaf99770eb7b49cb7
|
||||
# 开放银行异步通知完整 URL(公网可达,银行服务器必须能访问)
|
||||
# 注意:如果不配置,会尝试自动拼接 RequestUtils.uri() + /api/bank-fee/notify(在反向代理/HTTPS 场景可能不准确)
|
||||
# notify-url: https://你的域名/api/bank-fee/notify
|
||||
notify-url: https://8.153.111.6:8084/api/bank-fee/notify
|
||||
# 异步通知完整 URL(公网可达,银行服务器必须能访问)。不填则使用 RequestUtils.uri() + /api/bank-fee/notify
|
||||
# notify-url: https://你的域名/api/bank-fee/notify
|
||||
Loading…
Reference in New Issue