request->input('openid', ''); return $this->getServiceResult($this->userExternalService->getUserInfo($openid, [ 'user_name', 'user_phone', ])); } /** * 保存个人资料 * * @return void */ #[PostMapping(path: "user/save_information")] public function saveInformation() : void { $phone = $this->request->input('phone', ''); // TODO 逻辑完善 } /** * 保存问题反馈 * * @return array */ #[PostMapping(path: "user/save_feedback")] public function saveFeedback() : array { return $this->getServiceResult($this->punchCardSystemExternalService->saveFeedback($this->request)); } }