qifengquan 1 year ago
parent
commit
bf1b085a78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/data/controller/shop/Goods.php

+ 1 - 1
app/data/controller/shop/Goods.php

@@ -46,7 +46,7 @@ class Goods extends Controller
         $query = ShopGoods::mQuery();
         // 加载对应数据
         $this->type = $this->request->get('type', 'index');
-        if ($this->type === 'index') $query->where($admin_id)->where(['deleted' => 0]);
+        if ($this->type === 'index') $query->where($admin_id)->where(['deleted' => 0,'examine'=>1]);
         elseif ($this->type === 'recycle') $query->where(['deleted' => 1]);
         else $this->error("无法加载 {$this->type} 数据列表!");