Showing
1 changed file
with
6 additions
and
2 deletions
@@ -35,9 +35,9 @@ public class XWSendSMSServiceImpl implements ISendSMSService { | @@ -35,9 +35,9 @@ public class XWSendSMSServiceImpl implements ISendSMSService { | ||
35 | 35 | ||
36 | // private String smsUrl = "http://211.147.239.62:9050/cgi-bin/sendsms"; | 36 | // private String smsUrl = "http://211.147.239.62:9050/cgi-bin/sendsms"; |
37 | 37 | ||
38 | - private String smsName = "nocrm"; | 38 | + private String smsName = ""; |
39 | 39 | ||
40 | - private String smsPwd = "1qa@WS"; | 40 | + private String smsPwd = ""; |
41 | 41 | ||
42 | private int pageSize = 100000; | 42 | private int pageSize = 100000; |
43 | 43 | ||
@@ -53,10 +53,14 @@ public class XWSendSMSServiceImpl implements ISendSMSService { | @@ -53,10 +53,14 @@ public class XWSendSMSServiceImpl implements ISendSMSService { | ||
53 | } | 53 | } |
54 | log.info("sendSMS with mobile list.size={}, content={}", mobileList.size(), content); | 54 | log.info("sendSMS with mobile list.size={}, content={}", mobileList.size(), content); |
55 | 55 | ||
56 | + | ||
56 | // 判断如果是市场渠道发的短信,使用市场子账号 | 57 | // 判断如果是市场渠道发的短信,使用市场子账号 |
57 | if (StringUtils.equals(params.get("sendScene"), "GENERAL_SCENE")) { | 58 | if (StringUtils.equals(params.get("sendScene"), "GENERAL_SCENE")) { |
58 | smsName = "market"; | 59 | smsName = "market"; |
59 | smsPwd = "Market2017"; | 60 | smsPwd = "Market2017"; |
61 | + } else { | ||
62 | + smsName = "nocrm"; | ||
63 | + smsPwd = "1qa@WS"; | ||
60 | } | 64 | } |
61 | 65 | ||
62 | // 判断是否需要分页调用 | 66 | // 判断是否需要分页调用 |
-
Please register or login to post a comment