This commit is contained in:
aozhiwei 2024-04-18 21:16:03 +08:00
parent 79e3417fb9
commit 73e1b6aca9

View File

@ -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);
{