发货添加错误时返回原因

This commit is contained in:
wuchunlei
2024-03-29 13:10:59 +08:00
parent ef2e2d38b1
commit 322eb45392
3 changed files with 34 additions and 39 deletions

View File

@@ -722,9 +722,7 @@ public class BuyOrderController {
@RequestMapping(value = "/delivery", method = RequestMethod.POST)
public R delivery(@RequestParam("expressCompanyCode") String expressCompanyCode,
@RequestBody List<Integer> buyOrderProductId) throws Exception {
buyOrderService.delivery(expressCompanyCode, buyOrderProductId);
return R.ok();
return buyOrderService.delivery(expressCompanyCode, buyOrderProductId);
}
@RequestMapping("/mytest")