added: 学员登录api

This commit is contained in:
none
2023-03-10 14:10:55 +08:00
parent 06efa97e9f
commit f9dec16760
15 changed files with 446 additions and 101 deletions

View File

@@ -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);