| | |
| | | } |
| | | |
| | | |
| | | // 优惠券列表 |
| | | /** |
| | | * 优惠券列表 |
| | | */ |
| | | @PostMapping("/v1/api/xp-coupon/list") |
| | | @ApiOperation(value = "优惠券列表",tags = {"管理后台-优惠券列表"},response = XpCoupon.class) |
| | | public R<Page<XpCoupon>> list(@RequestBody XpCouponListQuery query ){ |
| | |
| | | } |
| | | |
| | | |
| | | // 添加优惠券 |
| | | |
| | | |
| | | /** |
| | | * // 添加优惠券 |
| | | * @param xpCoupon |
| | | * @return |
| | | */ |
| | | @PostMapping("/v1/api/xp-coupon/add") |
| | | @ApiOperation(value = "添加优惠券",tags = {"管理后台-添加优惠券"},response = XpCoupon.class) |
| | | public R<?> add(@RequestBody XpCoupon xpCoupon){ |
| | |
| | | |
| | | @Api(tags = "用户意见反馈") |
| | | @RestController |
| | | @RequestMapping("/base/v1/mini-program") |
| | | @RequestMapping("") |
| | | public class XpUserFeedbackController { |
| | | |
| | | private final IXpUserFeedbackService xpUserFeedbackService; |
| | |
| | | * 添加用户意见反馈 |
| | | */ |
| | | @ApiOperation(value = "用户意见反馈",tags = {"小程序-用户意见反馈"},response = XpUserFeedback.class) |
| | | @PostMapping(value = "/api/v1/complaint/submit") |
| | | @PostMapping(value = "/base/v1/mini-program/complaint/submit") |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R<?> addXpUserFeedback(@RequestBody XpUserFeedbackDto dto, HttpServletRequest request) { |
| | | String uid = request.getHeader("Xp-Uid"); |