Sfoglia il codice sorgente

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

zhangl 1 anno fa
parent
commit
6c6fc23cb9
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      frontendApi/modules/v1/controllers/SiteController.php

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

@@ -403,11 +403,11 @@ 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);
-                // 月底
-//                $date = date('Y-m-t', strtotime("{$y}-{$i}")) . ' 23:59:59';
+//                $date = "{$y}-{$i}-01 00:00:00";
 //                $result[] = strtotime($date);
+                // 月底
+                $date = date('Y-m-t', strtotime("{$y}-{$i}")) . ' 23:59:59';
+                $result[] = strtotime($date);
             }
         }