This commit is contained in:
yinkanglong
2023-10-21 09:48:50 +08:00
parent 5ef2c996cf
commit b2f069ee8d
555 changed files with 1886 additions and 506 deletions

View File

@@ -0,0 +1,27 @@
package cn.aofeng.demo.proxy;
/**
* 账号服务接口定义。
*
* @author <a href="mailto:aofengblog@163.com">聂勇</a>
*/
public interface AccountService {
/**
* 注册。
*
* @param username 账号名
* @return 具体含义查看{@link Result}的说明。
*/
Result register(String username);
/**
* 登录。
*
* @param username 账号名
* @param password 密码
* @return 具体含义查看{@link Result}的说明。
*/
Result login(String username, String password);
}