@@ -35,7 +35,7 @@ class CustomController extends BaseController
if (empty($custom)) {
util::fail('没有找到客户');
}
- if ($custom->mainId != $this->mainId) {
+ if ($custom->ownMainId != $this->mainId) {
util::fail('不是你的客户哈');
$ghsId = $custom->ghsId ?? 0;