...
|
...
|
@@ -35,9 +35,9 @@ public class XWSendSMSServiceImpl implements ISendSMSService { |
|
|
|
|
|
// private String smsUrl = "http://211.147.239.62:9050/cgi-bin/sendsms";
|
|
|
|
|
|
private String smsName = "nocrm";
|
|
|
private String smsName = "";
|
|
|
|
|
|
private String smsPwd = "1qa@WS";
|
|
|
private String smsPwd = "";
|
|
|
|
|
|
private int pageSize = 100000;
|
|
|
|
...
|
...
|
@@ -53,10 +53,14 @@ public class XWSendSMSServiceImpl implements ISendSMSService { |
|
|
}
|
|
|
log.info("sendSMS with mobile list.size={}, content={}", mobileList.size(), content);
|
|
|
|
|
|
|
|
|
// 判断如果是市场渠道发的短信,使用市场子账号
|
|
|
if (StringUtils.equals(params.get("sendScene"), "GENERAL_SCENE")) {
|
|
|
smsName = "market";
|
|
|
smsPwd = "Market2017";
|
|
|
} else {
|
|
|
smsName = "nocrm";
|
|
|
smsPwd = "1qa@WS";
|
|
|
}
|
|
|
|
|
|
// 判断是否需要分页调用
|
...
|
...
|
|