新增登录、注册拓展处理接口
This commit is contained in:
parent
f78e031742
commit
5d6f4b8a1c
@ -0,0 +1,25 @@
|
||||
package ink.wgink.interfaces.expand.login;
|
||||
|
||||
import ink.wgink.pojo.bos.LoginUser;
|
||||
|
||||
/**
|
||||
* When you feel like quitting. Think about why you started
|
||||
* 当你想要放弃的时候,想想当初你为何开始
|
||||
*
|
||||
* @ClassName: ILoginExpand
|
||||
* @Description: 登录处理器,该接口在用户登录成功后执行自定义的处理
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/5/1 10:02 下午
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface ILoginHandler {
|
||||
|
||||
/**
|
||||
* 登录处理
|
||||
*
|
||||
* @param loginUser
|
||||
* @throws Exception
|
||||
*/
|
||||
void handle(LoginUser loginUser) throws Exception;
|
||||
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package ink.wgink.interfaces.expand.register;
|
||||
|
||||
/**
|
||||
* When you feel like quitting. Think about why you started
|
||||
* 当你想要放弃的时候,想想当初你为何开始
|
||||
*
|
||||
* @ClassName: IRegisterExpand
|
||||
* @Description: 注册处理器,该接口在登录成功之后执行自定义的处理
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/5/1 10:02 下午
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface IRegisterHandler {
|
||||
|
||||
/**
|
||||
* 注册处理
|
||||
*
|
||||
* @param userId 注册成功的用户ID
|
||||
* @throws Exception
|
||||
*/
|
||||
void handler(String userId) throws Exception;
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package ink.wgink.interfaces.sms;
|
||||
|
||||
/**
|
||||
* When you feel like quitting. Think about why you started
|
||||
* 当你想要放弃的时候,想想当初你为何开始
|
||||
*
|
||||
* @ClassName: ISmsBaseService
|
||||
* @Description: 短信
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/5/1 10:58 下午
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public interface ISmsBaseService {
|
||||
|
||||
/**
|
||||
* 获取验证码
|
||||
*
|
||||
* @param phone
|
||||
* @return
|
||||
*/
|
||||
String getVerifyCode(String phone);
|
||||
}
|
Loading…
Reference in New Issue
Block a user