|
@@ -904,7 +904,7 @@ class User Extends Model
|
|
|
return Common::return_error('暂时无法使用微信支付');
|
|
|
}
|
|
|
|
|
|
- $orde = Order::where('user_id',$user_id)->where('overtime_pay_status',1)->find();
|
|
|
+ $orde = Order::where('user_id',$user_id)->where('is_del',1)->where('overtime_pay_status',1)->find();
|
|
|
if ($orde) return Common::return_error('有未支付的加班费订单,无法下单');
|
|
|
$designer = self::where('id',$designer_id)
|
|
|
->where('type',2)
|