Explorar o código

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl hai 1 ano
pai
achega
2499ea57d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontendApi/modules/v1/controllers/SiteController.php

+ 1 - 1
frontendApi/modules/v1/controllers/SiteController.php

@@ -403,7 +403,7 @@ class SiteController extends BaseController
         for ($y = $yearStart; $y <= $yearEnd; $y++) {
         for ($y = $yearStart; $y <= $yearEnd; $y++) {
             for ($i = 1; $i <= 12; $i++) {
             for ($i = 1; $i <= 12; $i++) {
                 $date = "{$y}-{$i}-01 00:00:00";
                 $date = "{$y}-{$i}-01 00:00:00";
-                $result[] = strtotime($date);
+                $result[] = strtotime($date) - 60 * 60 * 7;
             }
             }
         }
         }