This commit is contained in:
hujiabin 2022-12-13 14:45:06 +08:00
parent 4f4b865d52
commit 42157ba31e

View File

@ -140,9 +140,9 @@ class RankActivityService extends BaseService {
'type' => $meta['themeType'],
)
);
if ($row){
if ($row['guild_id']){
if ($row && $row['guild_id']){
$guild = Guild::find($row['guild_id']);
error_log('TEST LOG 1'.json_encode($guild));
if ($guild['guild_status'] == 2){
SqlHelper::update
(myself()->_getSelfMysql(),
@ -157,8 +157,8 @@ class RankActivityService extends BaseService {
)
);
}
}
error_log(json_encode($row));
error_log('TEST LOG 2'.json_encode($row));
SqlHelper::update
(myself()->_getSelfMysql(),
't_rank_activity',