调整页面
This commit is contained in:
@@ -28,7 +28,10 @@ function getOneCategory($categoryId, $return = '')
|
||||
*/
|
||||
function getOneArticleBYCate($categoryId, $result = '')
|
||||
{
|
||||
$info = Article::where('category_id', $categoryId)->latest('sort')->latest()->first();
|
||||
$info = Article::where('category_id', $categoryId)
|
||||
->latest('sort')
|
||||
->latest()
|
||||
->first();
|
||||
|
||||
if ($info) {
|
||||
if ($result) {
|
||||
|
||||
Reference in New Issue
Block a user