forest/src/main/java/com/rymcu/vertical/service/UserService.java
x ronger 733b57ca41 1、表名,表结构修改
2、专题功能开发
3、标签及相关功能开发
4、个人主页开发
2019-11-23 00:57:29 +08:00

25 lines
593 B
Java

package com.rymcu.vertical.service;
import com.rymcu.vertical.core.service.Service;
import com.rymcu.vertical.dto.UserDTO;
import com.rymcu.vertical.entity.User;
import org.apache.ibatis.exceptions.TooManyResultsException;
import java.util.Map;
/**
* Created by CodeGenerator on 2018/05/29.
*/
public interface UserService extends Service<User> {
User findByAccount(String account) throws TooManyResultsException;
Map register(String email, String password, String code);
Map login(String account, String password);
UserDTO findUserDTOByNickname(String nickname);
}