| | |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/shopFlower/") |
| | | @Api(tags = {"商城服务"}) |
| | | @Api(tags = {"花城商城服务"}) |
| | | public class ShopFlowerApi extends BaseController { |
| | | |
| | | @Resource |
| | |
| | | @PostMapping("orderDetail") |
| | | @ApiImplicitParam(name = "orderId", value = "订单id", required = true) |
| | | public R orderDetail(@RequestParam("orderId") Long orderId) { |
| | | return communityService.orderDetail(orderId); |
| | | return communityService.orderDetailFlower(orderId); |
| | | } |
| | | |
| | | @ApiOperation(value = "取消订单") |
| | |
| | | return R.fail("请重新登陆"); |
| | | } |
| | | orderPayDTO.setOpenId(loginUserInfo.getOpenid()); |
| | | return communityService.wxPay(orderPayDTO); |
| | | return communityService.wxPayFlower(orderPayDTO); |
| | | } |
| | | |
| | | /** |