Procházet zdrojové kódy

装扮商城上架调整

zhangxiaobin před 1 rokem
rodič
revize
15ec8f5559
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      application/api/controller/Attire.php

+ 1 - 0
application/api/controller/Attire.php

@@ -34,6 +34,7 @@ class Attire extends Api
         // 获取基本信息
         $where = [];
         $where["type"] = $type;
+        $where["is_show"] = 1;
         $attireList = $this->attireModel->where($where)->limit($pageStart,$pageNum)->select();
         if($attireList) {
             foreach($attireList as $k => $v) {