shish 1 год назад
Родитель
Сommit
2da4d8cd40
1 измененных файлов с 1 добавлено и 1 удалено
  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;