chuweiqiang преди 1 година
родител
ревизия
b169cb4c19
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      application/admin/controller/books/Certificate.php

+ 1 - 0
application/admin/controller/books/Certificate.php

@@ -69,6 +69,7 @@ class Certificate extends Backend
         $list = $this->model
             ->where($where)
             ->with(['user','goods'])
+            ->where('is_deleted',1)
             ->order($sort, $order)
             ->paginate($limit);
         $result = ['total' => $list->total(), 'rows' => $list->items()];