代码优化
This commit is contained in:
@@ -935,8 +935,11 @@ class ContentLibraryController extends Controller
|
|||||||
])
|
])
|
||||||
->order('createTime', 'desc')
|
->order('createTime', 'desc')
|
||||||
//->where('create_time', '>=', time() - 86400)
|
//->where('create_time', '>=', time() - 86400)
|
||||||
|
->page(1,20)
|
||||||
->select();
|
->select();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (empty($moments)) {
|
if (empty($moments)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user