瀏覽代碼

开单人

shish 2 年之前
父節點
當前提交
12704b453b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app-ghs/controllers/OrderController.php

+ 4 - 4
app-ghs/controllers/OrderController.php

@@ -819,14 +819,14 @@ class OrderController extends BaseController
             $getStaffName = $post['getStaffName'] ?? '';
             $shopAdminId = $post['getStaffId'];
             $shopAdminName = $getStaffName;
-        }else{
+        } else {
             if (getenv('YII_ENV') == 'production') {
                 //鹏诚需要选择开单人
-                if(in_array($this->mainId,[19606])){
+                if (in_array($this->mainId, [19606, 50])) {
                     util::fail('请选择开单人');
                 }
-            }else{
-                if(in_array($this->mainId,[644])){
+            } else {
+                if (in_array($this->mainId, [644])) {
                     util::fail('请选择开单人');
                 }
             }