更新扫描取件
This commit is contained in:
parent
355c15b76a
commit
6b8e395f30
@ -2640,7 +2640,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
* @param $orderSn
|
||||
* 更新扫描发货状态
|
||||
*/
|
||||
public function takeGoods($orderId, $orderSn)
|
||||
public function deliveryGoods($orderId, $orderSn)
|
||||
{
|
||||
$order = $this->dao->search([], null)->where('order_sn', $orderSn)->where('order_id', $orderId)->where('StoreOrder.is_del', 0)->find();
|
||||
if (!$order)
|
||||
|
@ -889,7 +889,7 @@ class Auth extends BaseController
|
||||
return app('json')->fail('参数order_sn不能为空');
|
||||
}
|
||||
app()->make(StoreOrderRepository::class)->deliveryGoods($id, $orderSn);
|
||||
return app('json')->success('确认收货成功');
|
||||
return app('json')->success('快递员扫描取件成功');
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user