@@ -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;