Эх сурвалжийг харах

客户复制的花材不显示

shish 4 жил өмнө
parent
commit
8c73af6b90

+ 2 - 5
app-ghs/controllers/PtItemController.php

@@ -31,11 +31,8 @@ class PtItemController extends BaseController
         if (!empty($classId)) {
             $where['classId'] = $classId;
         }
-        //是否显示复制的花材
-        $copy = Yii::$app->request->get('copy', '');
-        if (is_numeric($copy)) {
-            $where['copy'] = $copy;
-        }
+        //客户复制的花材不显示出来
+        $where['copy'] = 0;
         //没有删除的花材
         $where['delStatus'] = 0;
         $sjId = $this->sjId;