fix: refresh community tag counts safely
This commit is contained in:
@@ -280,7 +280,6 @@ class CommunityPostLogic extends BaseLogic
|
|||||||
->count();
|
->count();
|
||||||
CommunityTag::where('id', $tagId)->update([
|
CommunityTag::where('id', $tagId)->update([
|
||||||
'post_count' => $postCount,
|
'post_count' => $postCount,
|
||||||
'update_time' => time(),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user