正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -774,7 +774,8 @@ class Order extends Base | @@ -774,7 +774,8 @@ class Order extends Base | ||
774 | $name = $this->model->getQuery()->getTable(); | 774 | $name = $this->model->getQuery()->getTable(); |
775 | $tableName = $name . '.'; | 775 | $tableName = $name . '.'; |
776 | 776 | ||
777 | - $orders = $this->model->withTrashed(); | 777 | +// $orders = $this->model->withTrashed(); |
778 | + $orders = $this->model; | ||
778 | 779 | ||
779 | if ($nickname || $mobile) { | 780 | if ($nickname || $mobile) { |
780 | $orders = $orders->whereExists(function ($query) use ($nickname, $mobile, $tableName) { | 781 | $orders = $orders->whereExists(function ($query) use ($nickname, $mobile, $tableName) { |
-
请 注册 或 登录 后发表评论