New file |
| | |
| | | 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); |
| | | } |
| | | |
| | | } |