浏览代码

会员升级

Kirin 1 年之前
父节点
当前提交
052acc2e94
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);