shish 2 лет назад
Родитель
Сommit
869a0169eb
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      app-ghs/controllers/OrderItemController.php

+ 3 - 2
app-ghs/controllers/OrderItemController.php

@@ -110,8 +110,9 @@ class OrderItemController extends BaseController
         if ($orderItem->mainId != $this->mainId) {
             util::fail('无法操作');
         }
-
-        util::fail('开发中');
+        if (!in_array($this->mainId, [1496])) {
+            util::fail('开发中');
+        }
 
         $connection = Yii::$app->db;//事务处理
         $transaction = $connection->beginTransaction();