注册 代理商

This commit is contained in:
wangw 2024-12-19 14:14:42 +08:00
parent 893a37c752
commit e09d2cee39
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserDao, SysUserEntity> i
this.save(user); this.save(user);
if (user.getIsChannel() != null && user.getIsChannel().equals(1) && StringUtils.isBlank(user.getQdCode())) { if (user.getIsChannel() != null && user.getIsChannel().equals(1) && StringUtils.isBlank(user.getQdCode())) {
user.setQdCode(InvitationCodeUtil.toRegisteredCode(user.getUserId())); user.setQdCode(InvitationCodeUtil.toRegisteredCode(user.getUserId()));
this.save(user); this.update(user);
} }
//检查角色是否越权 //检查角色是否越权
checkRole(user); checkRole(user);