This commit is contained in:
hujiabin 2022-12-13 15:30:01 +08:00
parent 05b538282b
commit 9a7c8893eb
2 changed files with 2 additions and 3 deletions

View File

@ -661,7 +661,9 @@ class ShopController extends BaseAuthedController {
case mt\Item::HERO_TYPE: case mt\Item::HERO_TYPE:
{ {
Hero::addHero($itemMeta); Hero::addHero($itemMeta);
User::upsertHeadList($itemMeta);
$propertyChgService->addHeroChg(); $propertyChgService->addHeroChg();
$propertyChgService->addUserChg();
} }
break; break;
case mt\Item::HERO_SKIN_TYPE: case mt\Item::HERO_SKIN_TYPE:

View File

@ -142,7 +142,6 @@ class RankActivityService extends BaseService {
); );
if ($row && $row['guild_id']){ if ($row && $row['guild_id']){
$guild = Guild::find($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){ if ($guild['guild_status'] == 2){
SqlHelper::update SqlHelper::update
(myself()->_getSelfMysql(), (myself()->_getSelfMysql(),
@ -157,8 +156,6 @@ class RankActivityService extends BaseService {
) )
); );
} }
error_log('TEST LOG 2'.json_encode($row));
SqlHelper::update SqlHelper::update
(myself()->_getSelfMysql(), (myself()->_getSelfMysql(),
't_rank_activity', 't_rank_activity',