...
|
...
|
@@ -320,10 +320,10 @@ class Rider extends Api |
|
|
->find();
|
|
|
if ($order['rider_status'] == 20) $this->error('该订单已送达');
|
|
|
$order->rider_status = '20';
|
|
|
$order->isUpdate()->save();
|
|
|
$order->save();
|
|
|
$rider_order->status = '2';
|
|
|
$rider_order->sendtime = time();
|
|
|
$rider_order->isUpdate()->save();
|
|
|
$rider_order->save();
|
|
|
$user = $this->auth->getUser();
|
|
|
$data = [
|
|
|
'user_id' => $this->auth->id,
|
...
|
...
|
|