Browse Source

getGoodListByLadder方法优化

wufeng 2 years ago
parent
commit
473ee28043
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/controller/Good.php

+ 2 - 2
app/admin/controller/Good.php

@@ -945,7 +945,7 @@ class Good extends Base
             ->leftJoin("good_basic gb", "gb.spuCode=a.spuCode")
             ->leftJoin("good_ladder gl", "gl.skuCode=b.skuCode")
             ->where($where)
-            ->where('a.is_online', '=', 1)//必须上线成功
+//            ->where('a.is_online', '=', 1)//必须上线成功
             ->order("b.addtime desc")
             ->count('a.id');
 
@@ -957,7 +957,7 @@ class Good extends Base
             ->leftJoin("good_ladder gl", "gl.skuCode=b.skuCode")
             ->page($param['page'], $param['size'])
             ->where($where)
-            ->where('a.is_online', '=', 1)//必须上线成功
+//            ->where('a.is_online', '=', 1)//必须上线成功
             ->order("b.addtime desc")
             ->select()
             ->toArray();