mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-17 15:59:41 +08:00
修复 缺失的参数
This commit is contained in:
parent
5a566705ec
commit
5cb6c6090c
@ -25,7 +25,7 @@ module.exports.between = (value, MIN, MAX) => {
|
||||
};
|
||||
|
||||
const crypto = require("crypto");
|
||||
module.exports.md5 = () => {
|
||||
module.exports.md5 = (text) => {
|
||||
return crypto.createHash("md5").update(text).digest("hex");
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user