| | |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | |
| | | /** |
| | | * 发票列表-订单子表 |
| | | */ |
| | | @GetMapping(value = "/invoiceItemList") |
| | | public FebsResponse invoiceItemList() { |
| | | return new FebsResponse().success().data(mallInvoiceService.invoiceItemList()); |
| | | } |
| | | |
| | | /** |
| | | * 发票列表-上传发票 |
| | | */ |
| | | @PostMapping("addInvoiceUrl") |
| | | @ControllerEndpoint(operation = " 发票列表-上传发票", exceptionMessage = "操作失败") |
| | | public FebsResponse addInvoiceUrl(@Valid MallInvoice mallInvoice) { |
| | | return mallInvoiceService.addInvoiceUrl(mallInvoice); |
| | | } |
| | | |
| | | /** |
| | | * 发票列表-更新抬头 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("updateInvoiceDetail/{id}") |
| | | @ControllerEndpoint(operation = "发票列表-更新抬头", exceptionMessage = "操作失败") |
| | | public FebsResponse updateInvoiceDetail(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return mallInvoiceService.updateInvoiceDetail(id); |
| | | } |
| | | |
| | | /** |
| | | * 发票列表-更新订单状态 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("updateOrderDetail/{id}") |
| | | @ControllerEndpoint(operation = "发票列表-更新订单状态", exceptionMessage = "操作失败") |
| | | public FebsResponse updateOrderDetail(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return mallInvoiceService.updateOrderDetail(id); |
| | | } |
| | | |
| | | } |