This commit is contained in:
2025-12-13 16:35:34 +08:00
parent 1a849d6f4f
commit ba4558821b
5 changed files with 523 additions and 4 deletions
+3 -2
View File
@@ -75,9 +75,10 @@ class PostService
if (isset($p['status']) && $p['status']) {
$config['where']['status'] = $p['status'];
}else{
$config['where']['status'] = 1;
}
// else{
// $config['where']['status'] = 1;
// }
if (isset($p['favorite']) && $p['favorite']) {
$config['order']['favorite'] = 'desc';