mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 21:30:25 +00:00
Merge remote-tracking branch 'gitcode/dev' into dev
This commit is contained in:
10
README.md
10
README.md
@@ -42,11 +42,11 @@
|
|||||||
|
|
||||||
### 项目地址
|
### 项目地址
|
||||||
|
|
||||||
| 项目 | GITEE | GITHUB |
|
| 项目 | GITEE | GITHUB |GITCODE |
|
||||||
|---------|---------------------------------------------|-------------------------------------------------|
|
|---------|---------------------------------------------|-------------------------------------------------|---------------------------------------------|
|
||||||
| 后端地址 | [GITEE](https://gitee.com/dromara/dax-pay) | [GITHUB](https://github.com/dromara/dax-pay) |
|
| 后端地址 | [GITEE](https://gitee.com/dromara/dax-pay) | [GITHUB](https://github.com/dromara/dax-pay) | [GITCODE](https://gitcode.com/dromara/dax-pay) |
|
||||||
| Web前端地址 | [GITEE](https://gitee.com/bootx/dax-pay-ui) | [GITHUB](https://github.com/xxm1995/dax-pay-ui) |
|
| Web前端地址 | [GITEE](https://gitee.com/bootx/dax-pay-ui) | [GITHUB](https://github.com/xxm1995/dax-pay-ui) | [GITCODE](https://github.com/daxpay/dax-pay-ui) |
|
||||||
| H5前端地址 | [GITEE](https://gitee.com/bootx/dax-pay-h5) | [GITHUB](https://github.com/xxm1995/dax-pay-h5) |
|
| H5前端地址 | [GITEE](https://gitee.com/bootx/dax-pay-h5) | [GITHUB](https://github.com/xxm1995/dax-pay-h5) | [GITCODE](https://github.com/daxpay/dax-pay-h5) |
|
||||||
|
|
||||||
|
|
||||||
## 🏬 系统演示
|
## 🏬 系统演示
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
<artifactId>swagger-ui</artifactId>
|
<artifactId>swagger-ui</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
<!-- 排除自带的webjars-locator-core组件 -->
|
||||||
<groupId>org.webjars</groupId>
|
<groupId>org.webjars</groupId>
|
||||||
<artifactId>webjars-locator-core</artifactId>
|
<artifactId>webjars-locator-core</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
|
@@ -80,6 +80,8 @@ public class CaptchaService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 验证手机发送的验证码是否还在有效时间内
|
* 验证手机发送的验证码是否还在有效时间内
|
||||||
|
* @param phone 手机号
|
||||||
|
* @param type 业务类型, 用来区分不同业务的短信验证码
|
||||||
*/
|
*/
|
||||||
public boolean existsSmsCaptcha(String phone, String type) {
|
public boolean existsSmsCaptcha(String phone, String type) {
|
||||||
return redisClient.exists(getSmsCaptchaPrefix(type) + phone);
|
return redisClient.exists(getSmsCaptchaPrefix(type) + phone);
|
||||||
|
@@ -27,10 +27,10 @@ public class DaxPayKitConfiguration {
|
|||||||
// @EventListener(webstarteve.class)
|
// @EventListener(webstarteve.class)
|
||||||
public void initDaxPayKit(){
|
public void initDaxPayKit(){
|
||||||
DaxPayConfig config = DaxPayConfig.builder()
|
DaxPayConfig config = DaxPayConfig.builder()
|
||||||
.serviceUrl(daxPayDemoProperties.getServerUrl())
|
.serviceUrl(daxPayDemoProperties.getServerUrl()) // 服务地址
|
||||||
.signType(daxPayDemoProperties.getSignType())
|
.signType(daxPayDemoProperties.getSignType()) // 签名类型
|
||||||
.signSecret(daxPayDemoProperties.getSignSecret())
|
.signSecret(daxPayDemoProperties.getSignSecret()) // 签名密钥
|
||||||
.reqTimeout(daxPayDemoProperties.getReqTimeout())
|
.reqTimeout(daxPayDemoProperties.getReqTimeout()) // 超时时间
|
||||||
.build();
|
.build();
|
||||||
DaxPayKit.initConfig(config);
|
DaxPayKit.initConfig(config);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user