| | |
| | | package com.gkhy.exam.admin.system; |
| | | |
| | | import com.gkhy.exam.common.annotation.Log; |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.domain.entity.SysUser; |
| | | import com.gkhy.exam.common.enums.BusinessType; |
| | |
| | | } |
| | | |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "新增用户") |
| | | @PostMapping |
| | |
| | | } |
| | | |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "编辑用户") |
| | | @PutMapping |
| | |
| | | } |
| | | |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除用户") |
| | | @PutMapping("/{userId}") |
| | |
| | | } |
| | | |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "重置密码") |
| | | @PutMapping(value = "/resetPwd") |
| | |
| | | return CommonResult.success(); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "修改用户状态") |
| | | @PutMapping(value = "/changeStatus") |