sync: 同步短信服务 v1.0.4 并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:17:14 +08:00
parent 6c26f7a0e1
commit e6997f51ed
22 changed files with 450 additions and 168 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func main() {
"templateId": "SMS_000000001"
},
"params": {
"phoneNumber": "138****8000",
"phoneNumber": "13800008000",
"msgContent": "{\"code\":\"123456\"}"
}
}`)
+5 -5
View File
@@ -1,14 +1,14 @@
{
"config": {
"serviceType": "1",
"regionId": "cn-hangzhou",
"regionId": "cn-qingdao",
"accessKeyId": "${ALIYUN_ACCESS_KEY_ID}",
"accessKeySecret": "${ALIYUN_ACCESS_KEY_SECRET}",
"signName": "示例签名",
"templateId": "SMS_000000000"
"signName": "示例企业",
"templateId": "SMS_305105966"
},
"params": {
"phoneNumber": "138****8000",
"msgContent": "{\"code\":\"123456\"}"
"phoneNumber": "18600001858",
"msgContent": "{\"code\":\"482731\"}"
}
}
+5 -5
View File
@@ -1,14 +1,14 @@
{
"config": {
"serviceType": "2",
"sdkAppId": "1400000000",
"sdkAppId": "1400929370",
"accessKeyId": "${TENCENTCLOUD_SECRET_ID}",
"accessKeySecret": "${TENCENTCLOUD_SECRET_KEY}",
"signName": "示例签名",
"templateId": "000000"
"signName": "示例企业",
"templateId": "2234038"
},
"params": {
"phoneNumber": "138****8000",
"msgContent": "123456|5"
"phoneNumber": "+8618610281858",
"msgContent": "482731|5"
}
}