before test

This commit is contained in:
Cauchy
2023-10-25 13:47:06 +08:00
parent 86027f543c
commit 7792024b15
6 changed files with 39 additions and 32 deletions

View File

@@ -89,9 +89,9 @@ public class BuyOrderController {
@Autowired
private CountyService countyService;
@RequestMapping(value = "/decomposeShipment", method = RequestMethod.GET)
public R decomposeShipment(@RequestParam("userId") Integer userId) {
Map<Integer, List<String>> result = buyOrderService.decomposeShipment(userId);
@RequestMapping(value = "/decomposeShipment", method = RequestMethod.POST)
public R decomposeShipment(@RequestBody BuyOrderListRequestVo requestVo) {
Map<String, Object> result = buyOrderService.decomposeShipment(requestVo);
return R.ok().put("result", result);
}