Răsfoiți Sursa

打印小票二次 小齐去掉

shish 1 an în urmă
părinte
comite
b0e3add30c

+ 3 - 3
app-hd/controllers/NoticeController.php

@@ -217,7 +217,7 @@ class NoticeController extends PublicController
 
                                 if (getenv('YII_ENV') == 'production') {
                                     //福州我要花、花路鲜花批发、小齐鲜花打二次小票,有多处要修改搜索关键词tow_print
-                                    $needTwoPrint = [7538, 36707, 40624];
+                                    $needTwoPrint = [7538, 36707];
                                 } else {
                                     $needTwoPrint = [644];
                                 }
@@ -447,8 +447,8 @@ class NoticeController extends PublicController
                                 }
 
                                 if (getenv('YII_ENV') == 'production') {
-                                    //福州我要花、花路鲜花批发、小齐鲜花打二次小票,有多处要修改搜索关键词tow_print
-                                    $needTwoPrint = [7538, 36707, 40624];
+                                    //福州我要花、花路鲜花批发打二次小票,有多处要修改搜索关键词tow_print
+                                    $needTwoPrint = [7538, 36707];
                                 } else {
                                     $needTwoPrint = [644];
                                 }

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

@@ -743,8 +743,8 @@ class PurchaseController extends BaseController
                             $order->save();
                         }
 
-                        //小齐鲜花打二次小票,有多处要修改搜索关键词tow_print
-                        if (in_array($order->mainId, [40624])) {
+                        //xxx 打二次小票,有多处要修改搜索关键词tow_print
+                        if (in_array($order->mainId, [0])) {
                             OrderClass::onlinePrint($order);
                             $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
                             if (isset($ext->printSn) && !empty($ext->printSn)) {