作者 邓超

优化同步

... ... @@ -57,7 +57,7 @@ class Home extends Base {
* @time 2023/2/17 14:12
*/
public function lists(){
logs('v2 home lists');
$limit = app()->request('limit',20,['intval','abs']);
$last_id = app()->request('last_id',0,['intval','abs']);
... ... @@ -99,6 +99,7 @@ class Home extends Base {
* @time 2023/8/2 16:19
*/
public function sync(){
logs('v2 home sync');
ignore_user_abort(true);
set_time_limit(0);
... ...