Update aliyun-sms.js

This commit is contained in:
GOGOsu 2022-04-30 06:28:16 +08:00 committed by GitHub
parent b9e72b9645
commit ae2c49a729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -92,15 +92,15 @@ class AliyunSMS extends NotificationProvider {
let key = oa[i]; let key = oa[i];
param2[key] = param[key]; param2[key] = param[key];
} }
let moreEscapesTable = function(m) { let moreEscapesTable = function (m) {
return { return {
"!": "%21", "!": "%21",
"*": "%2A", "*": "%2A",
"'": "%27", "'": "%27",
"(": "%28", "(": "%28",
")": "%29" ")": "%29"
}[m] }[m];
}; };
for (let key in param2) { for (let key in param2) {