...
|
...
|
@@ -151,7 +151,7 @@ class OrderGrab extends Api |
|
|
empty($grab_price) && $this->error('请输入您的出价');
|
|
|
$order = Order::get($order_id);
|
|
|
empty($order) && $this->error('订单信息不存在');
|
|
|
$order['user_id'] == $this->auth->id && $this->error('抱歉,无法抢自己的发单');
|
|
|
// $order['user_id'] == $this->auth->id && $this->error('抱歉,无法抢自己的发单');
|
|
|
$has = $this->model->where('order_id',$order_id)->where('user_id',$this->auth->id)->find();
|
|
|
!empty($has) && $this->error('您已抢单,请勿重复操作');
|
|
|
// $grab_count = count($order['grabMany']);
|
...
|
...
|
|