From 9a7c8893eb7a4aa709945ce971bbd151ec459f27 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Tue, 13 Dec 2022 15:30:01 +0800 Subject: [PATCH] 1 --- webapp/controller/ShopController.class.php | 2 ++ webapp/services/RankActivityService.php | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index af5436dd..dded111f 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -661,7 +661,9 @@ class ShopController extends BaseAuthedController { case mt\Item::HERO_TYPE: { Hero::addHero($itemMeta); + User::upsertHeadList($itemMeta); $propertyChgService->addHeroChg(); + $propertyChgService->addUserChg(); } break; case mt\Item::HERO_SKIN_TYPE: diff --git a/webapp/services/RankActivityService.php b/webapp/services/RankActivityService.php index f3b11f7f..f3aa0b9a 100644 --- a/webapp/services/RankActivityService.php +++ b/webapp/services/RankActivityService.php @@ -142,7 +142,6 @@ class RankActivityService extends BaseService { ); if ($row && $row['guild_id']){ $guild = Guild::find($row['guild_id']); - error_log('TEST LOG 1'.json_encode($guild['guild_status']).'--------------guild_id:'.$row['guild_id']); if ($guild['guild_status'] == 2){ SqlHelper::update (myself()->_getSelfMysql(), @@ -157,8 +156,6 @@ class RankActivityService extends BaseService { ) ); } - - error_log('TEST LOG 2'.json_encode($row)); SqlHelper::update (myself()->_getSelfMysql(), 't_rank_activity',