|
@@ -79,7 +79,7 @@ public class UserCtl extends BaseCtl {
|
|
|
|
|
|
@RequestMapping("add")
|
|
@RequestMapping("add")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @SysLog(description="添加用户数据")
|
|
|
|
|
|
+ @SysLog(description="测试添加用户数据")
|
|
public WebJsonResult add(UserVo vo) throws Exception {
|
|
public WebJsonResult add(UserVo vo) throws Exception {
|
|
if (StringUtils.isEmpty(vo.getLoginName()) || StringUtils.isEmpty(vo.getRealName()))
|
|
if (StringUtils.isEmpty(vo.getLoginName()) || StringUtils.isEmpty(vo.getRealName()))
|
|
throw new BusinessException("101", "用户名不能为空!");
|
|
throw new BusinessException("101", "用户名不能为空!");
|
|
@@ -145,7 +145,7 @@ public class UserCtl extends BaseCtl {
|
|
|
|
|
|
@RequestMapping("getRecord")
|
|
@RequestMapping("getRecord")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @SysLog(description="用户列表查询")
|
|
|
|
|
|
+ @SysLog(description="获取用户数据")
|
|
public UserVo getRecord(String id) {
|
|
public UserVo getRecord(String id) {
|
|
|
|
|
|
UserModel model = userInfoService.findById(id);
|
|
UserModel model = userInfoService.findById(id);
|