修复 缺失的参数

This commit is contained in:
Suwings 2020-10-08 17:55:30 +08:00
parent 5a566705ec
commit 5cb6c6090c

View File

@ -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");
};