| | |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2024/8/16 14:00 |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-coupon/getCouponById/{id}") |
| | | R<TCoupon> getCouponById(@PathVariable("id") Integer id); |
| | | @PostMapping("/t-coupon/getCouponById1/{id}") |
| | | R<TCoupon> getCouponById1(@PathVariable("id") Integer id); |
| | | @PostMapping("/t-coupon/getCouponIdsByName/{name}") |
| | | R<List<Integer>> getCouponIdsByName(@PathVariable("name")String name); |
| | | } |