...
|
...
|
@@ -292,7 +292,8 @@ public class CocacolaServiceImpl implements ICocacolaService { |
|
|
String url = "http://www.ztsms.cn/sendSms.do?";
|
|
|
String content = "【 Yoho!Buy有货】恭喜您获得一张可口可乐优惠券,您的登录账号是 "+ mobile +", 密码是"+ password +";下载Yoho!Buy有货手机端 http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho,更多惊喜等着您!【有货】";
|
|
|
try {
|
|
|
url += "username=youhuo&password=" + MD5.md5(AES.decrypt("yoho96461qaz2wsx", this.sendSMSPassword)) + "&mobile=" + mobile + "&content="+ content +"&productid=333333";
|
|
|
String pwd = AES.decrypt("yoho96461qaz2wsx", this.sendSMSPassword);
|
|
|
url += "username=youhuo&password=" + MD5.md5(pwd) + "&mobile=" + mobile + "&content="+ content +"&productid=333333";
|
|
|
} catch (Exception e) {
|
|
|
log.error("AES.decrypt error with code={}", this.sendSMSPassword, e);
|
|
|
return;
|
...
|
...
|
|