删除无用项目
This commit is contained in:
@@ -88,12 +88,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.honeycombis</groupId>
|
||||
<artifactId>honeycom-cms-api</artifactId>
|
||||
<version>5.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.honeycombis</groupId>-->
|
||||
<!-- <artifactId>honeycom-cms-api</artifactId>-->
|
||||
<!-- <version>5.4.0</version>-->
|
||||
<!-- <scope>compile</scope>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.honeycombis</groupId>
|
||||
<artifactId>honeycom-user-api</artifactId>
|
||||
|
||||
@@ -125,7 +125,12 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUserEntity
|
||||
SysUserEntity sysUserEntity = new SysUserEntity();
|
||||
sysUserEntity.setPhone(sysUserRegisterDTO.getPhone());
|
||||
sysUserEntity.setPassword(ENCODER.encode(sysUserRegisterDTO.getPassword()));
|
||||
sysUserEntity.setUsername(sysUserRegisterDTO.getPhone());
|
||||
// sysUserEntity.setUsername(sysUserRegisterDTO.getPhone());
|
||||
if (StringUtils.isNotEmpty(sysUserRegisterDTO.getJobNumber())) {
|
||||
sysUserEntity.setUsername(sysUserRegisterDTO.getJobNumber());
|
||||
} else {
|
||||
sysUserEntity.setUsername(sysUserRegisterDTO.getPhone());
|
||||
}
|
||||
sysUserEntity.setStatus(CommonConstants.STATUS_NORMAL);
|
||||
|
||||
long userId = IdWorker.getId(sysUserEntity);
|
||||
|
||||
Reference in New Issue
Block a user