Ver código fonte

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

zhangl 1 ano atrás
pai
commit
2499ea57d8

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

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