|
@@ -349,7 +349,7 @@ public class SendSmsServiceImpl implements ISendSmsService {
|
|
|
int maxNums = 100;
|
|
|
int times = 0;
|
|
|
int size = 0;
|
|
|
-
|
|
|
+ String templateCode = smsList.get(0).getTemplateCode();
|
|
|
List<String> phoneList = new ArrayList<>();
|
|
|
List<String> signNameList = new ArrayList<>();
|
|
|
StringBuffer signNameJson;
|
|
@@ -397,7 +397,7 @@ public class SendSmsServiceImpl implements ISendSmsService {
|
|
|
|
|
|
sendBatchSmsRequest.setSignNameJson(signNameList.get(i));
|
|
|
|
|
|
- sendBatchSmsRequest.setTemplateCode(TEMPLATE_CODE_NOTICE);
|
|
|
+ sendBatchSmsRequest.setTemplateCode(templateCode);
|
|
|
long endTimeSql = System.currentTimeMillis() - startTimeSql;
|
|
|
System.out.println("执行批量下发短信通知计算:"+i+"次,时间" + endTimeSql + "ms");
|
|
|
long startTimeSend = System.currentTimeMillis();
|