| | |
| | | @Data |
| | | @ApiModel(value = "AddPrizeRule查询参数", description = "抽奖用户规则配置查询参数") |
| | | public class AddPrizeRuleQuery extends AbsQuery { |
| | | private String ruleName; |
| | | private String ruleCode; |
| | | } |
| | | |
| | |
| | | import cn.lili.modules.lmk.service.PrizeGrantRecordService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | * @date : 2025-08-25 16:45 |
| | | **/ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequiredArgsConstructor |
| | | @RequestMapping("/manager/lmk/prizeGrantRecord") |
| | | public class PrizeGrantRecordController { |
| | | private final PrizeGrantRecordService prizeGrantRecordService; |
| | |
| | | import cn.lili.modules.lmk.service.PrizeRecordService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | * @date : 2025-08-25 16:52 |
| | | **/ |
| | | |
| | | @AllArgsConstructor |
| | | @RequiredArgsConstructor |
| | | @RestController |
| | | @RequestMapping("/manager/lmk/prizeRecord") |
| | | public class PrizeRecordController { |
| New file |
| | |
| | | package cn.lili.controller.lmk; |
| | | |
| | | |
| | | import cn.lili.base.Result; |
| | | import cn.lili.modules.lmk.domain.entity.AddPrizeRule; |
| | | import cn.lili.modules.lmk.domain.form.AddPrizeRuleForm; |
| | | import cn.lili.modules.lmk.domain.query.AddPrizeRuleQuery; |
| | | import cn.lili.modules.lmk.service.AddPrizeRuleService; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * lmk-shop-java |
| | | * |
| | | * @author : zxl |
| | | * @date : 2025-09-30 13:42 |
| | | **/ |
| | | @RestController |
| | | @RequestMapping("/manager/lmk/prizeRuler") |
| | | @RequiredArgsConstructor |
| | | public class PrizeRulerController { |
| | | |
| | | private final AddPrizeRuleService addPrizeRuleService; |
| | | |
| | | @GetMapping |
| | | public Result getPage(AddPrizeRuleQuery query){ |
| | | return addPrizeRuleService.page(query); |
| | | } |
| | | |
| | | @PutMapping |
| | | public Result update(@RequestBody AddPrizeRuleForm form){ |
| | | return addPrizeRuleService.update(form); |
| | | } |
| | | } |
| | |
| | | import cn.lili.modules.statistics.service.PlatformViewService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | * @date : 2025-09-16 16:36 |
| | | **/ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequiredArgsConstructor |
| | | @RequestMapping("/manager/lmk/statistics") |
| | | public class StatisticsController { |
| | | private final OrderService orderService; |
| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | * @date : 2025-09-16 16:36 |
| | | **/ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequiredArgsConstructor |
| | | @RequestMapping("/manager/lmk/storeCoupon") |
| | | public class StoreCouponController { |
| | | |