doum
2025-12-12 dce1e83ec27a066ebc6c17a4ac6d03c9ad6ff703
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.doumee.api.web;
 
import com.doumee.core.annotation.trace.Trace;
import com.doumee.core.model.ApiResponse;
import com.doumee.core.model.PageData;
import com.doumee.core.model.PageWrap;
import com.doumee.dao.business.model.ShopMenu;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@Api(tags = "店铺菜品业务")
@Trace(exclude = true)
@RestController
@RequestMapping("/web/shopMenu")
@Slf4j
public class ShopMenuApi extends ApiController{
 
    /**
     * 分页查询
     *
     * @param pageWrap 分页对象
     * @return PageData<ShopMenu>
     */
    @ApiOperation(value = "分页查询商家评论信息", notes = "小程序端")
    @GetMapping("/createShopCommentDTO")
    public ApiResponse<PageData<ShopMenu>> findPage(@RequestBody PageWrap<ShopMenu> pageWrap){
        return ApiResponse.success(shopMenuService.findPage(pageWrap));
    }
 
}