帖子关联商品

This commit is contained in:
2025-12-11 14:17:24 +08:00
parent a83a2d2356
commit 18d29af70b
7 changed files with 39 additions and 11 deletions
-1
View File
@@ -71,7 +71,6 @@ class PostService
$config['where']['content'] = ['like', '%'.$p['keyword'].'%'];
}
$config['where']['status'] = 1;
$config['order']['sort'] = 'desc';
if (isset($p['favorite']) && $p['favorite']) {
$config['order']['favorite'] = 'desc';