|
|
|
@ -96,7 +96,7 @@ public class SysRegisterService
|
|
|
|
|
sysUser.setPassword(SecurityUtils.encryptPassword(password));
|
|
|
|
|
boolean regFlag = userService.registerUser(sysUser);
|
|
|
|
|
//注册绑定角色
|
|
|
|
|
roleBinding(sysUser,"yxxxj_xxlsq");
|
|
|
|
|
roleBinding(sysUser,"rew_excellent_category");
|
|
|
|
|
if (!regFlag)
|
|
|
|
|
{
|
|
|
|
|
msg = "注册失败,请联系系统管理人员";
|
|
|
|
|