| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 根据id获取优惠券 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | |
| | | Coupon queryCouponById(Integer id); |
| | | |
| | | @PostMapping("/base/userConpon/queryCouponRules") |
| | | Map<String,Object> getCouponRules(@RequestBody Integer couponId); |
| | | Map<String, Object> getCouponRules(@RequestBody Integer couponId); |
| | | |
| | | @PostMapping("/base/userConpon/getCoupons") |
| | | List<Coupon> getCoupons(String couponIds); |
| | | |
| | | @PostMapping("/coupon/queryCouponByUid") |
| | | List<Coupon> queryCouponByUid(Integer uid); |
| | | } |