【7.0.4】删除没用接口

pull/22/head
fengshuonan 2021-06-09 16:18:26 +08:00
parent 12998583cf
commit 16a0f7e5ab
3 changed files with 0 additions and 32 deletions

View File

@ -61,18 +61,6 @@ public class SysUserController {
@Resource
private SysUserRoleService sysUserRoleService;
/**
*
*
* @author chenjinlong
* @date 2021/01/16 13:50
*/
@PostResource(name = "系统用户_注册", path = "/sysUser/register", requiredLogin = false, requiredPermission = false)
public ResponseData register(@RequestBody @Validated(SysUserRequest.reg.class) SysUserRequest sysUserRequest) {
sysUserService.register(sysUserRequest);
return new SuccessResponseData();
}
/**
*
*

View File

@ -44,15 +44,6 @@ import java.util.List;
*/
public interface SysUserService extends IService<SysUser>, UserServiceApi {
/**
*
*
* @param sysUserRequest
* @author chenjinlong
* @date 2021/1/15 15:17
*/
void register(SysUserRequest sysUserRequest);
/**
*
*

View File

@ -26,7 +26,6 @@ package cn.stylefeng.roses.kernel.system.modular.user.service.impl;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import cn.stylefeng.roses.kernel.auth.api.SessionManagerApi;
@ -137,16 +136,6 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
@Resource
private CacheOperatorApi<SysUserDTO> sysUserCacheOperatorApi;
@Override
public void register(SysUserRequest sysUserRequest) {
SysUser sysUser = new SysUser();
BeanUtil.copyProperties(sysUserRequest, sysUser);
sysUser.setRealName(IdUtil.simpleUUID());
SysUserCreateFactory.fillAddSysUser(sysUser);
// 保存用户
this.save(sysUser);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void add(SysUserRequest sysUserRequest) {