From 2025c041aff8dfd1bccdda04157eafb99d4d3e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 1 Jul 2018 23:59:12 +0800 Subject: [PATCH] update --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5b2aa49..25fa28c 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ module.exports = { let stamp = ((Date.now() / 1000) >>> 0).toString(16) rand = rand.replace(/^([0-9a-z]{4})([0-9a-z]{4})([0-9a-z]{8})$/, '$1-$2-$3') - return stam + '-' + prand + return stamp + '-' + rand }, /**