From 1310406913df7f661b369cfb1ff9133654932df3 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 27 Sep 2023 15:10:03 +0800 Subject: [PATCH] 1 --- webapp/controller/AvatarController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/controller/AvatarController.class.php b/webapp/controller/AvatarController.class.php index 232c8de6..22eebd64 100644 --- a/webapp/controller/AvatarController.class.php +++ b/webapp/controller/AvatarController.class.php @@ -157,7 +157,11 @@ class AvatarController extends BaseAuthedController { LogService::consumeDiamond($event); } Avatar::addAvatar($itemMeta); - $this->_rspOk(); + $propertyChgService = new services\PropertyChgService(); + $propertyChgService->addUserChg(); + $this->_rspData(array( + 'property_chg' => $propertyChgService->toDto(), + )); } }