更新扫描取件

This commit is contained in:
yaooo 2023-08-11 09:35:15 +08:00
parent 355c15b76a
commit 6b8e395f30
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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('快递员扫描取件成功');
}
}