This commit is contained in:
彭桃 2023-03-20 15:12:35 +08:00
parent 437a893973
commit d87f908843

View File

@ -1781,7 +1781,7 @@ class Maintainentry extends BaseController
if($user['householder_id']){ if($user['householder_id']){
$this->apiError('已有户主不能接收邀请'); $this->apiError('已有户主不能接收邀请');
}else{ }else{
$hz = Db::table('fa_szxc_information_usermsg')->where('user_id',$params['user_id'])->find(); $hz = Db::table('fa_szxc_information_usermsg')->where('user_id',$params['hz_id'])->find();
if(!$hz){ if(!$hz){
$this->apiError('邀请人未找到'); $this->apiError('邀请人未找到');
} }