mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-09 14:36:00 +08:00
feat 各种微调
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
在 [Bootx开源文档站](https://bootx.gitee.io/) 下的支付网关(DaxPay)模块下可以进行查阅相关文档,具体链接地址如下:
|
||||
[快速指南](https://bootx.gitee.io/daxpay/guides/overview/项目介绍.html)、
|
||||
[支付对接](https://bootx.gitee.io/daxpay/gateway/overview/接口清单.html)、
|
||||
[平台配置](https://bootx.gitee.io/daxpay/admin/config/平台配置.html)
|
||||
[操作手册](https://bootx.gitee.io/daxpay/admin/config/平台配置.html)
|
||||
|
||||
### 项目地址
|
||||
后端地址:[https://gitee.com/bootx/dax-pay](https://gitee.com/bootx/dax-pay)
|
||||
@@ -121,14 +121,14 @@ H5前端地址:[https://gitee.com/bootx/dax-pay-h5](https://gitee.com/bootx/da
|
||||
|
||||
QQ扫码加入QQ交流群
|
||||
<p>
|
||||
<img src="_doc/images/qq_qun.jpg" width = "330" height = "500"/>
|
||||
<img src="https://jsd.cdn.zzko.cn/gh/xxm1995/bootx-img@master/bootx/qq_qun.3qs0zpity9q0.webp" width = "330" height = "500"/>
|
||||
</p>
|
||||
|
||||
|
||||
## 🍻 鸣谢
|
||||
感谢 JetBrains 提供的免费开源 License:
|
||||
|
||||
[](https://www.jetbrains.com/?from=bootx)
|
||||
[](https://www.jetbrains.com/?from=bootx)
|
||||
|
||||
感谢其他提供灵感和思路的开源项目
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!-- 项目信息 -->
|
||||
<name>bootx-platform</name>
|
||||
<description>bootx-platform 基于Spring Boot框架打造,针对单体式应用进行专门设计,提供整套服务模块,努力为打造全方位企业级开发解决方案</description>
|
||||
<url>https://gitee.com/bootx/bootx-platform</url>
|
||||
<name>daxpay-single-sdk</name>
|
||||
<description>daxpay-single-sdk 是 daxpay单商户版的JavaSDK,用于业务系统快速接入到支付网关中</description>
|
||||
<url>https://gitee.com/bootx/daxpay</url>
|
||||
|
||||
<!-- 许可证 -->
|
||||
<licenses>
|
||||
@@ -29,14 +29,14 @@
|
||||
<name>bootx</name>
|
||||
<email>xxm1995@outlook.com</email>
|
||||
<organization>bootx</organization>
|
||||
<url>https://gitee.com/bootx/bootx-platform</url>
|
||||
<url>https://gitee.com/bootx/daxpay</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@gitee.com:bootx/bootx-platform.git</connection>
|
||||
<developerConnection>scm:git:git@gitee.com:bootx/bootx-platform.git</developerConnection>
|
||||
<url>https://gitee.com/bootx/bootx-platform</url>
|
||||
<connection>scm:git:git@gitee.com:bootx/daxpay.git</connection>
|
||||
<developerConnection>scm:git:git@gitee.com:bootx/daxpay.git</developerConnection>
|
||||
<url>https://gitee.com/bootx/daxpay</url>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
|
||||
@@ -11,9 +11,9 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "微信oauth2授权的url连接")
|
||||
@Schema(title = "微信oauth2授权的url")
|
||||
public class WxAuthUrlResult {
|
||||
|
||||
@Schema(description = "微信oauth2授权的url连接")
|
||||
@Schema(description = "微信oauth2授权的url")
|
||||
private String url;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.bootx.platform.daxpay.demo.controller;
|
||||
package cn.bootx.platform.daxpay.gateway.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
@@ -35,7 +35,7 @@ public class UniPayAssistController {
|
||||
|
||||
@CountTime
|
||||
@PaymentApi("getWxAuthUrl")
|
||||
@Operation(summary = "获取微信oauth2授权的url")
|
||||
@Operation(summary = "获取微信oauth2授权连接")
|
||||
@PostMapping("/getWxAuthUrl")
|
||||
public DaxResult<WxAuthUrlResult> getWxAuthUrl(@RequestBody WxAuthUrlParam param){
|
||||
return DaxRes.ok(uniPayAssistService.getWxAuthUrl(param));
|
||||
@@ -43,7 +43,7 @@ public class UniPayAssistController {
|
||||
|
||||
@CountTime
|
||||
@PaymentApi("getWxAccessToken")
|
||||
@Operation(summary = "获取微信AccessToken数据")
|
||||
@Operation(summary = "获取微信AccessToken")
|
||||
@PostMapping("/getWxAccessToken")
|
||||
public ResResult<WxAccessTokenResult> getWxAccessToken(@RequestBody WxAccessTokenParam param){
|
||||
return Res.ok(uniPayAssistService.getWxAccessToken(param));
|
||||
|
||||
@@ -59,8 +59,8 @@ public class AliPayConfig extends MpBaseEntity implements EntityBaseFunction<Ali
|
||||
@DbColumn(comment = "同步通知页面路径")
|
||||
private String returnUrl;
|
||||
|
||||
/** 请求网关地址 */
|
||||
@DbColumn(comment = "请求网关地址")
|
||||
/** 支付网关地址 */
|
||||
@DbColumn(comment = "支付网关地址")
|
||||
private String serverUrl;
|
||||
|
||||
/**
|
||||
@@ -70,8 +70,8 @@ public class AliPayConfig extends MpBaseEntity implements EntityBaseFunction<Ali
|
||||
@DbColumn(comment = "认证类型")
|
||||
private String authType;
|
||||
|
||||
/** 签名类型 RSA/RSA2 */
|
||||
@DbColumn(comment = "签名类型 RSA/RSA2")
|
||||
/** 签名类型 RSA2 */
|
||||
@DbColumn(comment = "签名类型 RSA2")
|
||||
public String signType;
|
||||
|
||||
/** 支付宝公钥 */
|
||||
|
||||
@@ -30,7 +30,7 @@ public class PayRepairRecord extends MpCreateEntity implements EntityBaseFunctio
|
||||
|
||||
/**
|
||||
* 修复号
|
||||
* 如果一次修复产生的修复记录有多个记录, 使用这个ID作为关联
|
||||
* 如果一次修复产生的修复记录有多个记录, 使用这个作为关联
|
||||
*/
|
||||
@DbColumn(comment = "修复号")
|
||||
private String repairNo;
|
||||
|
||||
@@ -55,6 +55,7 @@ public class PayApiConfig extends MpBaseEntity implements EntityBaseFunction<Pay
|
||||
@DbColumn(comment = "只有异步支付才进行通知")
|
||||
private boolean onlyAsyncNotice;
|
||||
|
||||
@Deprecated
|
||||
@DbColumn(comment = "默认回调地址")
|
||||
private String noticeUrl;
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ dromara:
|
||||
storage-path: D:/data/files/
|
||||
# 支付系统配置
|
||||
dax-pay:
|
||||
# 网关地址
|
||||
# 服务地址
|
||||
server-url: http://pay1.bootx.cn
|
||||
# 前端h5地址
|
||||
front-h5-url: http://pay1.bootx.cn/h5/#
|
||||
|
||||
Reference in New Issue
Block a user