mirror of
https://github.com/Estom/notes.git
synced 2026-02-06 03:54:22 +08:00
Java内容重新整理删除过期的东西
This commit is contained in:
27
Java/JavaDemo/codedemo/proxy/AccountService.java
Normal file
27
Java/JavaDemo/codedemo/proxy/AccountService.java
Normal 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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user