qifengquan 1 년 전
부모
커밋
bf1b085a78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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} 数据列表!");