| | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.service.IApiMallOrderInfoService; |
| | | import cc.mrbird.febs.mall.vo.ApiMallSubsidyAmountInfoVo; |
| | | import cc.mrbird.febs.mall.vo.MallMemberVo; |
| | | import cc.mrbird.febs.mall.vo.OrderDetailVo; |
| | | import cc.mrbird.febs.mall.vo.OrderListVo; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @CrossOrigin("*") |
| | | @RequiredArgsConstructor |
| | | @RequestMapping(value = "/api/order") |
| | | @Api(value = "ApiMallOrderController", tags = "订单接口类") |
| | |
| | | mallOrderInfoService.refundExpress(refundExpressDto); |
| | | return new FebsResponse().success().message("提交成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "评价", notes = "评价") |
| | | @PostMapping(value = "/goodsComment") |
| | | public FebsResponse goodsComment(@RequestBody ApiAddCommentDtos addCommentDtos) { |
| | | mallOrderInfoService.goodsComment(addCommentDtos); |
| | | return new FebsResponse().success().message("评价成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "查看银行卡是否签约", notes = "查看银行卡是否签约") |
| | | @PostMapping(value = "/bangCardSign") |
| | | public FebsResponse bangCardSign(@RequestBody BangCardSignDto bangCardSignDto) { |
| | | return mallOrderInfoService.bangCardSign(bangCardSignDto); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取订单补贴信息", notes = "获取订单补贴信息") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiMallSubsidyAmountInfoVo.class) |
| | | }) |
| | | @GetMapping(value = "/subsidyAmountInfo") |
| | | public FebsResponse subsidyAmountInfo() { |
| | | return mallOrderInfoService.subsidyAmountInfo(); |
| | | } |
| | | |
| | | } |