Skip to content

Commit

Permalink
feat 各种微调
Browse files Browse the repository at this point in the history
  • Loading branch information
xxm1995 committed Feb 16, 2024
1 parent 4daaf84 commit 6c2bd52
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:

[![JetBrains](_doc/images/jetbrains.png)](https://www.jetbrains.com/?from=bootx)
[![jetbrains](https://jsd.cdn.zzko.cn/gh/xxm1995/bootx-img@master/bootx/jetbrains.y9o7c2ydh80.webp)](https://www.jetbrains.com/?from=bootx)

感谢其他提供灵感和思路的开源项目

Expand Down
14 changes: 7 additions & 7 deletions daxpay-single-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -29,14 +29,14 @@
<name>bootx</name>
<email>[email protected]</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:[email protected]:bootx/bootx-platform.git</connection>
<developerConnection>scm:git:[email protected]:bootx/bootx-platform.git</developerConnection>
<url>https://gitee.com/bootx/bootx-platform</url>
<connection>scm:git:[email protected]:bootx/daxpay.git</connection>
<developerConnection>scm:git:[email protected]:bootx/daxpay.git</developerConnection>
<url>https://gitee.com/bootx/daxpay</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
*/
@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;
}
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ 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));
}

@CountTime
@PaymentApi("getWxAccessToken")
@Operation(summary = "获取微信AccessToken数据")
@Operation(summary = "获取微信AccessToken")
@PostMapping("/getWxAccessToken")
public ResResult<WxAccessTokenResult> getWxAccessToken(@RequestBody WxAccessTokenParam param){
return Res.ok(uniPayAssistService.getWxAccessToken(param));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public class AliPayConfig extends MpBaseEntity implements EntityBaseFunction<Ali
@DbColumn(comment = "同步通知页面路径")
private String returnUrl;

/** 请求网关地址 */
@DbColumn(comment = "请求网关地址")
/** 支付网关地址 */
@DbColumn(comment = "支付网关地址")
private String serverUrl;

/**
Expand All @@ -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;

/** 支付宝公钥 */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PayRepairRecord extends MpCreateEntity implements EntityBaseFunctio

/**
* 修复号
* 如果一次修复产生的修复记录有多个记录, 使用这个ID作为关联
* 如果一次修复产生的修复记录有多个记录, 使用这个作为关联
*/
@DbColumn(comment = "修复号")
private String repairNo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class PayApiConfig extends MpBaseEntity implements EntityBaseFunction<Pay
@DbColumn(comment = "只有异步支付才进行通知")
private boolean onlyAsyncNotice;

@Deprecated
@DbColumn(comment = "默认回调地址")
private String noticeUrl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ dromara:
storage-path: D:/data/files/
# 支付系统配置
dax-pay:
# 网关地址
# 服务地址
server-url: http:https://pay1.bootx.cn
# 前端h5地址
front-h5-url: http:https://pay1.bootx.cn/h5/#
Expand Down

0 comments on commit 6c2bd52

Please sign in to comment.