|
@@ -72,6 +72,8 @@ class PublicController extends BaseController
|
|
|
|
|
|
public function test()
|
|
|
{
|
|
|
+ CacheService::set('max_id', 0);
|
|
|
+ CacheService::set('last_time', 0);
|
|
|
$max_id = CacheService::get('max_id', 0);
|
|
|
$list = UserIntegral::where('type', 0)->where('status', 0)->order('id asc')->where('id', '>', $max_id)->limit(300)->select();
|
|
|
$last_time = CacheService::get('last_time', 0);
|