From 73e1b6aca96d90c811cccdff852ccb804a4c8d94 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 18 Apr 2024 21:16:03 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index a43e6b6f..4b6efd8e 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -593,6 +593,9 @@ class UserController extends BaseAuthedController { $this->_rspErr(1, 'Hero does not exist'); return; } + $this->_updateUserInfo(array( + 'hero_id' => $heroUniId + )); $heroInfo = Hero::toDto($heroDb); $heroInfo['avatar_info'] = Hero::avatarInfo($heroDb); {