| | |
| | | |
| | | @ApiOperation("商品列表") |
| | | @PostMapping("/goodsPage") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true) |
| | | }) |
| | | public ApiResponse<IPage<GoodsInfoResponse>> goodsPage(@RequestBody PageWrap<GoodsRequest> pageWrap) { |
| | | IPage<GoodsInfoResponse> page = goodsService.getGoodsPage(pageWrap); |
| | | return ApiResponse.success("查询成功",page); |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | }) |
| | | public ApiResponse<List<SearchHistory>> searchHistoryList(@RequestParam Integer type) { |
| | | public ApiResponse<List<SearchHistory>> searchHistoryList() { |
| | | return ApiResponse.success(searchHistoryService.findListByType(Constants.ZERO,getMemberId())); |
| | | } |
| | | |