master
宇天 2018-07-01 23:59:12 +08:00
parent 54e1ce3c43
commit 2025c041af
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ module.exports = {
let stamp = ((Date.now() / 1000) >>> 0).toString(16) 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') rand = rand.replace(/^([0-9a-z]{4})([0-9a-z]{4})([0-9a-z]{8})$/, '$1-$2-$3')
return stam + '-' + prand return stamp + '-' + rand
}, },
/** /**