This commit is contained in:
hujiabin 2022-12-13 14:36:34 +08:00
parent d60f834b54
commit 4f4b865d52

View File

@ -141,18 +141,6 @@ class RankActivityService extends BaseService {
)
);
if ($row){
SqlHelper::update
(myself()->_getSelfMysql(),
't_rank_activity',
array(
'account_id' => myself()->_getAccountId(),
'wave' => $meta['wave'],
'type' => $meta['themeType'],
),
array(
'guild_id'=> ''
)
);
if ($row['guild_id']){
$guild = Guild::find($row['guild_id']);
if ($guild['guild_status'] == 2){
@ -170,6 +158,19 @@ class RankActivityService extends BaseService {
);
}
}
error_log(json_encode($row));
SqlHelper::update
(myself()->_getSelfMysql(),
't_rank_activity',
array(
'account_id' => myself()->_getAccountId(),
'wave' => $meta['wave'],
'type' => $meta['themeType'],
),
array(
'guild_id'=> ''
)
);
}
return;
}