短信发送接口

This commit is contained in:
张松
2025-02-12 11:34:37 +08:00
parent 59046df4d7
commit 87e8c59cf0
9 changed files with 173 additions and 2 deletions

View File

@@ -8,4 +8,5 @@ package com.czg.config;
public interface RedisCst {
String LOGIN_CODE = "login:code:";
String SMS_CODE = "sms:code:";
}

View File

@@ -0,0 +1,8 @@
package com.czg.account.service;
/**
* @author Administrator
*/
public interface CommonService {
Boolean sendSms(String type);
}

View File

@@ -27,6 +27,10 @@
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dysmsapi20170525</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>