shish 1 yıl önce
ebeveyn
işleme
2da4d8cd40
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app-ghs/controllers/LiveOrderController.php

+ 1 - 1
app-ghs/controllers/LiveOrderController.php

@@ -132,7 +132,7 @@ class LiveOrderController extends BaseController
         if (empty($custom)) {
             util::fail('没有找到客户');
         }
-        if ($custom->mainId != $this->mainId) {
+        if ($custom->ownMainId != $this->mainId) {
             util::fail('不是你的客户');
         }
         $num = $post['num'] ?? 0;