Browse Source

auto commit

tags/v1.2
zhouzj 3 years ago
parent
commit
a354546a83
7 changed files with 0 additions and 7 deletions
  1. +0
    -3
      .vscode/settings.json
  2. +0
    -0
      Node.js/.gitignore
  3. +0
    -0
      Node.js/README.md
  4. +0
    -4
      Node.js/index.js
  5. +0
    -0
      Node.js/package.json
  6. +0
    -0
      Node.js/test/process_test.js
  7. +0
    -0
      Node.js/test/test.js

+ 0
- 3
.vscode/settings.json View File

@@ -1,3 +0,0 @@
{
"eggHelper.serverPort": 35684
}

NodeJs/.gitignore → Node.js/.gitignore View File


NodeJs/README.md → Node.js/README.md View File


NodeJs/index.js → Node.js/index.js View File

@@ -1,15 +1,11 @@
/**
* @description:
* @author: bubao
* @date: 2021-04-27 17:19:51
* @last author: bubao
* @last edit time: 2021-04-27 23:17:06
*/
class Genid {
/**
*Creates an instance of Genid.
* @author bubao
* @date 2021-04-27
* @param {{
* Method: 1, // 雪花计算方法,(1-漂移算法|2-传统算法),默认 1
* BaseTime: 1577836800000, // 基础时间(ms 单位),不能超过当前系统时间

NodeJs/package.json → Node.js/package.json View File


NodeJs/test/process_test.js → Node.js/test/process_test.js View File


NodeJs/test/test.js → Node.js/test/test.js View File


Loading…
Cancel
Save