Commit 9eb96746 authored by honghy's avatar honghy

SendChamp客户端发送账号改成ECLogistics

parent 6bd74b8c
...@@ -69,7 +69,7 @@ public class SendChampSmsClient extends AbstractSmsClient { ...@@ -69,7 +69,7 @@ public class SendChampSmsClient extends AbstractSmsClient {
List<String> messages = splitContent(content); List<String> messages = splitContent(content);
for (String message : messages) { for (String message : messages) {
// 设置发送短信所需的参数 // 设置发送短信所需的参数
Map<String, Object> param = sendchampHttp.setParams(mobile, message, "Sendchamp"); Map<String, Object> param = sendchampHttp.setParams(mobile, message, "ECLogistics");
// 设置请求头,包含认证信息 // 设置请求头,包含认证信息
Map<String, String> header = sendchampHttp.setHeader("Bearer " + properties.getApiSecret()); Map<String, String> header = sendchampHttp.setHeader("Bearer " + properties.getApiSecret());
// 发送POST请求 // 发送POST请求
......
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