导入
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user