瀏覽代碼

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

zhangl 1 年之前
父節點
當前提交
6c6fc23cb9
共有 1 個文件被更改,包括 4 次插入4 次删除
  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);
             }
         }