修复首页最新资源不显示问题
This commit is contained in:
@@ -40,7 +40,7 @@ class Index extends QfShop
|
||||
$map[] = ['is_delete', '=', 0];
|
||||
|
||||
$newList = $this->SourceModel->order(['create_time' => 'desc'])
|
||||
->field('title,create_time as time')
|
||||
->field('title,create_time as time,source_id as id')
|
||||
->where($map)
|
||||
->limit(Config('qfshop.ranking_num') ?? 1)
|
||||
->select()->each(function($item,$key){
|
||||
|
||||
Reference in New Issue
Block a user