소스 검색

合并打印

shish 2 년 전
부모
커밋
6d79b350de
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      app-ghs/controllers/OrderController.php

+ 9 - 0
app-ghs/controllers/OrderController.php

@@ -83,6 +83,15 @@ class OrderController extends BaseController
         if (empty($arr)) {
         if (empty($arr)) {
             util::fail('请选择要合并打印的订单哦');
             util::fail('请选择要合并打印的订单哦');
         }
         }
+        if (getenv('YII_ENV') == 'production') {
+            if ($this->mainId != 10536) {
+                util::fail('功能开发中');
+            }
+        } else {
+            if ($this->mainId != 11) {
+                util::fail('功能开发中');
+            }
+        }
         OrderClass::mergePrintOrder($arr, $this->mainId);
         OrderClass::mergePrintOrder($arr, $this->mainId);
         util::complete('打印成功');
         util::complete('打印成功');
     }
     }