短信发送接口
This commit is contained in:
@@ -8,4 +8,5 @@ package com.czg.config;
|
||||
public interface RedisCst {
|
||||
String LOGIN_CODE = "login:code:";
|
||||
|
||||
String SMS_CODE = "sms:code:";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.czg.account.service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
public interface CommonService {
|
||||
Boolean sendSms(String type);
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user