laowu 1 هفته پیش
والد
کامیت
fb7cdd2eff
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/Http/Controllers/Game/ActivityController.php

+ 1 - 0
app/Http/Controllers/Game/ActivityController.php

@@ -334,6 +334,7 @@ class ActivityController extends Controller
             $res2['vip_expire_warning_day'] = config('vip.expire_warning_days');
             $res2['Alpha'] = DB::table('QPAccountsDB.dbo.ProtectLevel')
                 ->where('VIP', $res2['vip'])->value('Alpha') * ($res2['vip_level_down'] ? 0.5 : 1);
+            $res2['seconds'] = strtotime('today +1 day') - time();
             return apiReturnSuc($res2);
         } finally {
             // 确保释放锁