dever 6 lat temu
rodzic
commit
d469ac463a
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      main/src/Preview.php

+ 5 - 0
main/src/Preview.php

@@ -30,6 +30,11 @@ class Preview
         $scene = -1 . ',' . $type . ',' . $id;
         $scene = -1 . ',' . $type . ',' . $id;
 
 
         //echo $scene;die;
         //echo $scene;die;
+        if ($type == 4) {
+
+        } else {
+            $info['cate_id'] = 1;
+        }
         $send['project'] = $info['cate_id'];
         $send['project'] = $info['cate_id'];
         $send['send'] = $scene;
         $send['send'] = $scene;
         $send['width'] = 152;
         $send['width'] = 152;