diff --git a/src/main/java/com/yipin/liuwanr/service/UserInfoService.java b/src/main/java/com/yipin/liuwanr/service/UserInfoService.java index fda07d6..da13266 100644 --- a/src/main/java/com/yipin/liuwanr/service/UserInfoService.java +++ b/src/main/java/com/yipin/liuwanr/service/UserInfoService.java @@ -116,6 +116,7 @@ public class UserInfoService { user.setPassword("huoran123");//设置默认密码 String token ="UT_"+UUID.randomUUID().toString().replace("-", ""); user.setToken(token); + userInfoMapper.addUser(user); Integer userId = user.getUserId(); if (studentWorkNumber!=null){