更新物流系统扫描收货
This commit is contained in:
parent
b7a242df93
commit
d45c948e87
@ -72,16 +72,6 @@ class Auth extends BaseController
|
||||
return app('json')->success($logisticsInfo);
|
||||
}
|
||||
|
||||
public function takeGoods($id)
|
||||
{
|
||||
$orderSn = $this->request->param('order_sn');
|
||||
if (empty($orderSn)) {
|
||||
return app('json')->fail('参数order_sn不能为空');
|
||||
}
|
||||
app()->make(StoreOrderRepository::class)->takeGoods($id, $orderSn);
|
||||
return app('json')->success('确认收货成功');
|
||||
}
|
||||
|
||||
public function test()
|
||||
{
|
||||
$type = $this->request->param('type');
|
||||
@ -891,4 +881,15 @@ class Auth extends BaseController
|
||||
return app('json')->success('短信发送成功');
|
||||
}
|
||||
|
||||
//物流系统扫码取货确认商家发货
|
||||
public function takeGoods($id)
|
||||
{
|
||||
$orderSn = $this->request->param('order_sn');
|
||||
if (empty($orderSn)) {
|
||||
return app('json')->fail('参数order_sn不能为空');
|
||||
}
|
||||
app()->make(StoreOrderRepository::class)->takeGoods($id, $orderSn);
|
||||
return app('json')->success('确认收货成功');
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user