Sfoglia il codice sorgente

休店不让看花材

shish 1 anno fa
parent
commit
575b56c5f3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app-hd/controllers/ProductController.php

+ 2 - 2
app-hd/controllers/ProductController.php

@@ -444,8 +444,8 @@ class ProductController extends BaseController
             $open = $shop->open??1;
 
             if($open == 0){
-                //除了源花汇,其他人休店时不让客户看花材
-                if(!in_array($mainId,[10536])){
+                //九江云朵、丽子鲜花休店不让看花材
+                if(in_array($mainId,[26374,1496])){
                     util::fail('已休店');
                 }
             }