Commit 11aa6811 authored by alex yao's avatar alex yao

feat: 百度SMS 模板更改

parent d08286e2
......@@ -46,7 +46,7 @@ public class BaiDuThirdPlatformService implements ThirdPlatformSmsService {
request.setTemplate(Config.get("baidu.code.gangAo.template"));
}
Map<String, String> contentVar = new HashMap<>();
contentVar.put("smsCode", code);
contentVar.put("SMSvCode", code);
request.setContentVar(contentVar);
SendMessageV3Response response = client.sendMessage(request);
// 解析请求响应 response.isSuccess()为true 表示成功
......
......@@ -52,9 +52,9 @@ baidu.code.keyId=ae40d293ec92452789c8f0c25a3d4e32
baidu.code.keySecret=3357e3507c514175ac99e20e99ccfb1e
#baidu sms template \ signature
baidu.code.mainLand.signatureId=sms-sign-wqlTsv51668
baidu.code.mainLand.template=sms-tmpl-JSlPbF49715
baidu.code.mainLand.template=sms-tmpl-AnDHlz15911
baidu.code.gangAo.signatureId=sms-sign-FcfPaR54702
baidu.code.gangAo.template=sms-tmpl-thhNEu03466
baidu.code.gangAo.template=sms-tmpl-GZmkfn63181
#tencent
tencent.speech.synthesizer.appid=1251105573
tencent.speech.synthesizer.secretId=AKIDAGE2Y1KWTGTTKZ5d5KTO5XzNdnpfOxPL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment