Browse Source

会员升级

Kirin 7 months ago
parent
commit
052acc2e94
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/controller/api/v1/PublicController.php

+ 2 - 0
app/controller/api/v1/PublicController.php

@@ -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);