mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-24 19:59:31 +08:00
added: 学员登录api
This commit is contained in:
@@ -24,6 +24,10 @@ public interface UserService extends IService<User> {
|
||||
|
||||
User findOrFail(Integer id) throws NotFoundException;
|
||||
|
||||
User find(Integer id);
|
||||
|
||||
User find(String email);
|
||||
|
||||
User createWithDepIds(String email, String name, String avatar, String password, String idCard, Integer[] depIds);
|
||||
|
||||
User updateWithDepIds(User user, String email, String nickname, String name, String avatar, String password, String idCard, Integer[] depIds);
|
||||
|
||||
Reference in New Issue
Block a user