userModel->find($this->userId); if ($userInfo->isEmpty()) throw new ErrException('用户不存在'); $userInfo->phone = ''; if (!$userInfo->save()) throw new ErrException('解绑失败'); return $this->return->success('解绑成功'); } }