Selaa lähdekoodia

add SnowFlakeDate to config.table.php

visuddhinanda 4 vuotta sitten
vanhempi
sitoutus
eeb68ca955
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 2 1
      change-logs.md
  2. 3 0
      public/app/config.table.php

+ 2 - 1
change-logs.md

@@ -37,4 +37,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [1.0.4] - 2022-01-21
 
 - add SNOWFLAKE to .env.example
-- add SnowFlake to config.sample.php
+- add SnowFlake to config.sample.php
+- add SnowFlakeDate to config.table.php

+ 3 - 0
public/app/config.table.php

@@ -1,4 +1,7 @@
 <?php 
+# 雪花算法id 起始日期2021-12-22 绝对不可修改!!!
+define("_SnowFlakeDate_","2021-12-22");
+
 #表名设置,不能更改
 define("_DB_ENGIN_", Database["type"]);
 define("_DB_HOST_", Database["server"]);