增加mapping
This commit is contained in:
parent
510a5027d4
commit
74d888ca6d
@ -209,7 +209,7 @@ public class UserController extends DefaultBaseController {
|
||||
|
||||
@ApiOperation(value = "通过ID列表获取用户列表", notes = "通过ID列表获取用户列表接口")
|
||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||
@PostMapping("listbyids")
|
||||
@PostMapping(value = {"listbyids", "list/ids"})
|
||||
public List<UserDTO> listByIds(@RequestBody IdsVO idsVO) {
|
||||
if (idsVO.getIds().isEmpty()) {
|
||||
throw new ParamsException("id列表不能为空");
|
||||
|
Loading…
Reference in New Issue
Block a user