1、请求方式:http://localhost:8889/store/order/complain_t=1696552919&pageNumber=1&pageSize=10&sort=createTime&order=desc
接参方式:@ApiOperation(value = "分页获取")
@GetMapping
public ResultMessage<IPage<OrderComplaint>> get(OrderComplaintSearchParams searchParams, PageVO pageVO)
2、请求方式:http://localhost:8889/store/order/123465789
接参方式:@ApiOperation(value = "通过id获取")
@ApiImplicitParam(name = "id", value = "ID", required = true, paramType = "path")
@GetMapping(value = "/{id}")
public ResultMessage<OrderComplaintVO> get(@PathVariable String id)
RestFul get方式的接参方式
最新推荐文章于 2024-11-08 13:57:42 发布