Commit abcb7fbe authored by curryft's avatar curryft

重置密码

parent bcbf6c1a
......@@ -71,8 +71,9 @@ public class SysUserController extends PaginationController<SysUser> {
"");
}
@ApiOperation(value = "重置密码", notes = "根据用户Name重置密码")
@ApiOperation(value = "重置密码", notes = "根据用户学号或者工号重置密码")
@PostMapping("/resetPassword")
@ApiImplicitParam(name = "userCode", value = "学号或工号", required = true, dataType = "varchar")
public Result resetPassword (String userCode){
PersistModel persistModel = new PersistModel(userServiceImpl.resetPassword(userCode));
return Result.builder(persistModel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment