| | |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.entity.MallOrderInfo; |
| | | import cc.mrbird.febs.mall.service.IApiMallOrderInfoService; |
| | | import cc.mrbird.febs.mall.service.IMallCountryDeliveryService; |
| | | import cc.mrbird.febs.mall.vo.ApiOrderPayVo; |
| | | import cc.mrbird.febs.mall.vo.OrderDetailVo; |
| | | import cc.mrbird.febs.mall.vo.OrderListVo; |
| | |
| | | private final IApiMallOrderInfoService mallOrderInfoService; |
| | | private final IXcxPayService iXcxPayService; |
| | | private final LwPayService lwPayService; |
| | | private final IMallCountryDeliveryService countryDeliveryService; |
| | | |
| | | @ApiOperation(value = "创建订单--验证是否允许创建", notes = "创建订单--验证是否允许创建") |
| | | @PostMapping(value = "/createOrderVerify") |
| | |
| | | return "redirect:/pages/payResult?orderNo=" + orderId + "&code=" + returncode; |
| | | } |
| | | |
| | | @ApiOperation(value = "根据国家编码查询运费", notes = "根据国家编码查询对应运费") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success") |
| | | }) |
| | | @GetMapping(value = "/getShippingFee") |
| | | public FebsResponse getShippingFee(@RequestParam String countryCode) { |
| | | return countryDeliveryService.getShippingFeeByCountryCode(countryCode); |
| | | } |
| | | |
| | | } |