批量发货
This commit is contained in:
@@ -1222,6 +1222,17 @@ public class BuyOrderController {
|
||||
return buyOrderService.delivery(expressCompanyCode, buyOrderProductId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量订单发货(仅支持单商品且数量为1的订单,快递公司固定顺丰 SF)
|
||||
*
|
||||
* @param orderIds 订单 ID 列表
|
||||
* @return R,存在不符合条件的订单时 msg 为逗号拼接的订单号
|
||||
*/
|
||||
@RequestMapping(value = "/batchDelivery", method = RequestMethod.POST)
|
||||
public R batchDelivery(@RequestBody List<Integer> orderIds) throws Exception {
|
||||
return buyOrderService.batchDelivery("SF", orderIds);
|
||||
}
|
||||
|
||||
@RequestMapping("/mytest")
|
||||
public R mytest() throws IOException {
|
||||
String mytest = buyOrderService.mytest();
|
||||
|
||||
Reference in New Issue
Block a user