上传代码

master
zhiyong.ning 4 years ago
parent 4e4c8abecb
commit 06f3fc8507
  1. 1
      src/main/java/com/yipin/liuwanr/service/UserInfoService.java

@ -116,6 +116,7 @@ public class UserInfoService {
user.setPassword("huoran123");//设置默认密码 user.setPassword("huoran123");//设置默认密码
String token ="UT_"+UUID.randomUUID().toString().replace("-", ""); String token ="UT_"+UUID.randomUUID().toString().replace("-", "");
user.setToken(token); user.setToken(token);
userInfoMapper.addUser(user); userInfoMapper.addUser(user);
Integer userId = user.getUserId(); Integer userId = user.getUserId();
if (studentWorkNumber!=null){ if (studentWorkNumber!=null){

Loading…
Cancel
Save