|
@@ -235,6 +235,7 @@ public class ChannelServiceImpl extends ServiceImpl<ChannelMapper, Channel> impl
|
|
|
user.setUserName(site.getMobile());
|
|
|
user.setNickName(site.getMobile());
|
|
|
user.setPhonenumber(site.getMobile());
|
|
|
+ user.setPassword(SecurityUtils.encryptPassword(site.getMobile().substring(site.getMobile().length() - 6)));
|
|
|
user.setCreateBy("门店导入");
|
|
|
// 获取默认的角色
|
|
|
SysRole sysRole = roleService.selectDefaultRoleByType(RoleTypeEnum.SALESITE_ROLE.getValue());
|