zxl
9 天以前 9c6c57d3a81571e10a6a46446e18175067f4a8df
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
package cn.lili.controller.lmk;
 
 
import cn.lili.base.Result;
import cn.lili.modules.lmk.domain.query.VideoCommentMangerQuery;
import cn.lili.modules.lmk.service.VideoCommentService;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
 
/**
 * lmk-shop-java
 * 管理端评价管理
 *
 * @author : zxl
 * @date : 2025-08-14 10:50
 **/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/manager/lmk/videoComment")
public class VideoCommentController {
    private final VideoCommentService videoCommentService;
 
    @GetMapping()
    public Result getPage(VideoCommentMangerQuery query){
        return videoCommentService.mangerComment(query);
    }
    @DeleteMapping("/{id}")
    public Result delete(@PathVariable("id")String id){
        return videoCommentService.removeById(id);
    }
}