peng
5 天以前 3cba7c6a9c1a9df84bf5289c5a5815fe5eab2261
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
36
37
38
39
40
41
42
43
44
45
package cn.lili.controller.lmk;
 
 
import cn.lili.base.Result;
import cn.lili.modules.lmk.domain.query.MemberCustomerTagQuery;
import cn.lili.modules.lmk.service.MemberCustomerTagService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * lmk-shop-java
 *
 * @author : zxl
 * @date : 2025-07-21 15:54
 **/
@RestController
@RequiredArgsConstructor
@Api(value = "会员自定义标签", tags = "会员自定义标签")
@RequestMapping("/manager/memberCustomerTag/")
public class MemberCustomerTagController {
    private final MemberCustomerTagService memberCustomerTagService;
 
    @GetMapping("/page")
    @ApiOperation(value = "会员标签详情", notes = "会员标签详情")
    public Result page(MemberCustomerTagQuery query){
       return memberCustomerTagService.page(query);
    }
    @GetMapping("/detail")
    @ApiOperation(value = "会员标签详情", notes = "会员标签详情")
    public Result detail(){
        return memberCustomerTagService.detail();
    }
 
    @GetMapping("/detail/{id}")
    @ApiOperation(value = "通过id获取会员标签详情", notes = "通过id获取会员标签详情")
    public Result detailById(@PathVariable String id){
        return memberCustomerTagService.detailById(id);
    }
 
}