Commit 450720e6 authored by killer's avatar killer

增加接口描述

parent 7fa963d3
......@@ -1423,17 +1423,17 @@ public class InnerController implements IBaseController {
}
/**
* 注销/禁用 用户
* 禁用用户
* -- 供内部系统免密调用
*
* @param userId
* @return
*/
@ApiOperation(notes = "注销/禁用 用户 - 供内部系统免密调用", value = "注销/禁用 用户", nickname = "forbiddenUser")
@ApiOperation(notes = "禁用用户-供内部系统免密调用", value = "禁用用户", nickname = "forbiddenUser")
@RequestMapping(path = "/user/disable", method = RequestMethod.POST)
public JsonResult forbiddenUser(Long userId) {
boolean flushed = flushUserStatus(userId, false);
log.info("注销/禁用 用户,userId:[{}],result:[{}]", userId, flushed);
log.info("禁用用户,userId:[{}],result:[{}]", userId, flushed);
return JsonResult.buildSuccessResult("用户已禁用.", flushed);
}
......
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