Prechádzať zdrojové kódy

装扮商城上架调整

zhangxiaobin 1 rok pred
rodič
commit
15ec8f5559
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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) {