add 增加 短信登录 与 小程序登录 示例

This commit is contained in:
疯狂的狮子Li
2022-03-23 01:02:07 +08:00
parent 641a15158d
commit bb479c436a
13 changed files with 250 additions and 21 deletions

View File

@@ -19,6 +19,22 @@ public interface RemoteUserService {
*/
LoginUser getUserInfo(String username) throws UserException;
/**
* 通过手机号查询用户信息
*
* @param phonenumber 手机号
* @return 结果
*/
LoginUser getUserInfoByPhonenumber(String phonenumber) throws UserException;
/**
* 通过openid查询用户信息
*
* @param openid openid
* @return 结果
*/
LoginUser getUserInfoByOpenid(String openid) throws UserException;
/**
* 注册用户信息
*