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