Date:2025-07-29

author:Duanyuqing
comment:汇付工具包集成
main
duanyuqing 6 months ago
parent 00fb91effe
commit 305e96f2cd

File diff suppressed because it is too large Load Diff

@ -119,6 +119,13 @@
<artifactId>weixin-java-pay</artifactId> <artifactId>weixin-java-pay</artifactId>
</dependency> </dependency>
<!--汇付SDK接入-->
<dependency>
<groupId>com.huifu.bspay.sdk</groupId>
<artifactId>dg-java-sdk</artifactId>
<version>${huifu}</version>
</dependency>
</dependencies> </dependencies>
<distributionManagement> <distributionManagement>
<repository> <repository>

@ -115,4 +115,4 @@ hake:
order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址 order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址
refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址 refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址
transfer-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/transfer # 支付渠道的【转账】回调地址 transfer-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/transfer # 支付渠道的【转账】回调地址
demo: true # 关闭演示模式 demo: false # 关闭演示模式

@ -18,6 +18,14 @@
</description> </description>
<dependencies> <dependencies>
<!--汇付SDK接入-->
<dependency>
<groupId>com.huifu.bspay.sdk</groupId>
<artifactId>dg-java-sdk</artifactId>
<version>${huifu}</version>
</dependency>
<!-- Spring Cloud 基础 --> <!-- Spring Cloud 基础 -->
<dependency> <dependency>
<groupId>cn.iocoder.cloud</groupId> <groupId>cn.iocoder.cloud</groupId>

@ -24,13 +24,13 @@ public class DefaultController {
@RequestMapping("/admin-api/bpm/**") @RequestMapping("/admin-api/bpm/**")
public CommonResult<Boolean> bpm404() { public CommonResult<Boolean> bpm404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[工作流模块 hake-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]"); "[工作流模块 hake-module-bpm - 已禁用]");
} }
@RequestMapping("/admin-api/mp/**") @RequestMapping("/admin-api/mp/**")
public CommonResult<Boolean> mp404() { public CommonResult<Boolean> mp404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[微信公众号 hake-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]"); "[微信公众号 hake-module-mp - 已禁用]");
} }
@RequestMapping(value = { "/admin-api/product/**", // 商品中心 @RequestMapping(value = { "/admin-api/product/**", // 商品中心
@ -38,31 +38,31 @@ public class DefaultController {
"/admin-api/promotion/**" }) // 营销中心 "/admin-api/promotion/**" }) // 营销中心
public CommonResult<Boolean> mall404() { public CommonResult<Boolean> mall404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[商城系统 hake-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); "[商城系统 hake-module-mall - 已禁用]");
} }
@RequestMapping("/admin-api/erp/**") @RequestMapping("/admin-api/erp/**")
public CommonResult<Boolean> erp404() { public CommonResult<Boolean> erp404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[ERP 模块 hake-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); "[ERP 模块 hake-module-erp - 已禁用]");
} }
@RequestMapping("/admin-api/crm/**") @RequestMapping("/admin-api/crm/**")
public CommonResult<Boolean> crm404() { public CommonResult<Boolean> crm404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[CRM 模块 hake-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); "[CRM 模块 hake-module-crm - 已禁用]");
} }
@RequestMapping(value = { "/admin-api/report/**"}) @RequestMapping(value = { "/admin-api/report/**"})
public CommonResult<Boolean> report404() { public CommonResult<Boolean> report404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[报表模块 hake-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]"); "[报表模块 hake-module-report - 已禁用]");
} }
@RequestMapping(value = { "/admin-api/pay/**"}) @RequestMapping(value = { "/admin-api/pay/**"})
public CommonResult<Boolean> pay404() { public CommonResult<Boolean> pay404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(), return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[支付模块 hake-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]"); "[支付模块 hake-module-pay - 已禁用]");
} }
/** /**

@ -44,6 +44,7 @@
<spring.boot.version>2.7.18</spring.boot.version> <spring.boot.version>2.7.18</spring.boot.version>
<mapstruct.version>1.6.3</mapstruct.version> <mapstruct.version>1.6.3</mapstruct.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<huifu>3.0.28</huifu>
</properties> </properties>
<dependencyManagement> <dependencyManagement>

Loading…
Cancel
Save