MrShi
10 小时以前 ac33a3140ef8ef20dfd2537fce2dfdd0f374f30e
server/dmmall_web/src/main/java/com/doumee/api/web/mall/GoodsApi.java
@@ -35,9 +35,6 @@
    @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);
@@ -72,7 +69,7 @@
    @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()));
    }