Commit ce6f5be6 authored by jay's avatar jay

81端口号去除

parent 88a757b6
......@@ -55,7 +55,7 @@ public class SmsUtils {
String smsUrl = MemoryPropertyPlaceholderConfigurer.getContextProperty("system.default.smsUrl");
// 测试方便
if (null == smsUrl) {
smsUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/5/depart/1/city/";
smsUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/5/depart/1/city/";
}
try {
......@@ -98,7 +98,7 @@ public class SmsUtils {
String smsUrl = MemoryPropertyPlaceholderConfigurer.getContextProperty("system.default.consultansmsUrl");
// 测试方便
if (null == smsUrl) {
smsUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/87/depart/1/city/";
smsUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/87/depart/1/city/";
}
try {
// 设置短信内容编码
......@@ -336,7 +336,7 @@ public class SmsUtils {
*/
public static void main(String[] args) throws Exception {
String result = SmsUtils.sendSeckillRemindSms("nj", "13270838331", "请在5分钟内输入验证码,过期需重新申请",
"http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/70/depart/1/city/");
"http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/70/depart/1/city/");
System.out.println("短信返回:" + result);
//String result = SmsUtils.shakeSendSms("nj", "18626460868", "您的验证码是:1234,请在5分钟内输入验证码,过期需重新申请",69, "system.shake.smsUrl");
//System.out.println("短信返回:" + result);
......
......@@ -35,12 +35,12 @@ CRM.SEEQUERY.URL=http://192.168.111.1/statqueryforhgs/v0/itemnames
##400\u65B0\u63A5\u53E3
accesstoken.url=http://tel400.house365.com:81/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com:81/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com:81/api/5ad553214586b
#unbindcornet.url=http://tel400.house365.com:81/api/5a9ea13f5e42c
unbindcornet.url=http://api.400.house365.com/api/5a9ea13f5e42c
modifycornet.url=http://tel400.house365.com:81/api/5ad6b66e28cec
accesstoken.url=http://tel400.house365.com/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com/api/5ad553214586b
#unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
modifycornet.url=http://tel400.house365.com/api/5ad6b66e28cec
## rest interface common params
rest.commonParams=serviceCode,serviceName
......
......@@ -25,19 +25,19 @@ system.default.fileExt=jpg,jpeg,gif,png
system.default.fileMax=2097152
##400新接口
accesstoken.url=http://tel400.house365.com:81/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com:81/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com:81/api/5ad553214586b
#unbindcornet.url=http://tel400.house365.com:81/api/5a9ea13f5e42c
accesstoken.url=http://tel400.house365.com/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com/api/5ad553214586b
#unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
modifycornet.url=http://tel400.house365.com:81/api/5ad6b66e28cec
modifycornet.url=http://tel400.house365.com/api/5ad6b66e28cec
## NewHouse
projects.server.url=http://oms.house365.com/tpp/adminpack/index.php
## News
news.server.url=http://mapi.house365.com/cms/mobile_news.php
CRM.CUSTOMERQUERY.URL=http://crm.house365.com:81/api/hgs/query
CRM.TRANSLATE.URL=http://crm.house365.com:81/api/hgs/translate
CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
CRM.TRANSLATE.URL=http://crm.house365.com/api/hgs/translate
#CRM.SEEQUERY.URL=http://shuju.house365.com/statqueryforhgs/v0/itemnames
CRM.SEEQUERY.URL=http://172.17.1.175:8080/statqueryforhgs/v0/itemnames
......
......@@ -22,19 +22,19 @@ system.default.fileExt=jpg,jpeg,gif,png
system.default.fileMax=2097152
##400新接口
accesstoken.url=http://tel400.house365.com:81/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com:81/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com:81/api/5ad553214586b
unbindcornet.url=http://tel400.house365.com:81/api/5a9ea13f5e42c
modifycornet.url=http://tel400.house365.com:81/api/5ad6b66e28cec
accesstoken.url=http://tel400.house365.com/api/5aaf0c48ed105
getcornet.url=http://tel400.house365.com/api/5a9ea11c04845
bindcornet.url=http://tel400.house365.com/api/5ad553214586b
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
modifycornet.url=http://tel400.house365.com/api/5ad6b66e28cec
## NewHouse
projects.server.url=http://oms.house365.com/tpp/adminpack/index.php
## News
news.server.url=http://mapi.house365.com/cms/mobile_news.php
#CRM.CUSTOMERQUERY.URL=http://192.168.107.30:81/api/hgs/query
CRM.CUSTOMERQUERY.URL=http://crm.house365.com:81/api/hgs/query
#CRM.CUSTOMERQUERY.URL=http://192.168.107.30/api/hgs/query
CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
#CRM.TRANSLATE.URL=http://192.168.107.30:81/api/hgs/translate
CRM.TRANSLATE.URL=http://crm.house365.com/api/hgs/translate
......
......@@ -227,7 +227,7 @@ public class PropertyReportImpl implements IPropertyReportInterface {
// String mobile = "18862152977";
String msg = "您的房博士" + name + "本次为您生成的专属置业报告,详见链接:" + url;
msg = URLEncoder.encode(msg, "GBK");
String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
smUrl = smUrl + city + "/" + "mobileno/" + mobile;
List<NameValuePair> params = new ArrayList<>();
params.add(new BasicNameValuePair("msg", msg));
......
......@@ -361,7 +361,7 @@ public class AddHotlineCustomerInfoImpl implements IAddHotlineCustomer {
msg += phone + "于" + date + "给您来电," + "请在\"全链条-我的400来电中\"跟踪记录!";
String message = msg;
msg = URLEncoder.encode(msg, "GBK");
String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
smUrl = smUrl + city + "/" + "mobileno/" + mobile;
List<NameValuePair> params = new ArrayList<>();
params.add(new BasicNameValuePair("msg", msg));
......
......@@ -40,7 +40,7 @@ import java.util.*;
public class AddPromoteCustomerImpl implements IAddPromoteCustomer {
private static final int TRACE_STATUS_INVALID = 1;
private static final Logger LOGGER = LoggerFactory.getLogger(AddCustomerInfoImpl.class);
private String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
private String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
@Autowired
private ICustomerService<CustomerEntity> customerService;
@Autowired
......
......@@ -151,7 +151,7 @@ public class SendMsgImpl implements ISendMsgService {
msg += "您好,您收到了来自于淘房的用户消息!请打开全链条APP查看并及时回复。";
String message = msg;
msg = URLEncoder.encode(msg, "GBK");
String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
smUrl = smUrl + city + "/" + "mobileno/" + mobile;
List<NameValuePair> params = new ArrayList<>();
params.add(new BasicNameValuePair("msg", msg));
......@@ -210,7 +210,7 @@ public class SendMsgImpl implements ISendMsgService {
// String mobile = "18862152977";
// String msg = "您好,请及时去删除dlq死信队列。";
// msg = URLEncoder.encode(msg, "GBK");
// String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
// String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
// smUrl = smUrl + city + "/" + "mobileno/" + mobile;
// List<NameValuePair> params = new ArrayList<>();
// params.add(new BasicNameValuePair("msg", msg));
......@@ -514,21 +514,6 @@ public class SendMsgImpl implements ISendMsgService {
public static void main(String[] args) {
try {
// String city = "nj";
// String mobile = "18851729266";
// String msg = "小伙子你很荣幸,这是一条来自范水周杰伦的短信,你可以点一首歌";
// msg = URLEncoder.encode(msg, "GBK");
// String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
// smUrl = smUrl + city + "/" + "mobileno/" + mobile;
// List<NameValuePair> params = new ArrayList<>();
// params.add(new BasicNameValuePair("msg", msg));
// String result = HttpClientUtil.doGet(smUrl, params, null);
// if (result != null) {
// logger.info("定时发送dlq提醒短信成功");
// } else {
// logger.error("定时发送dlq提醒短信失败");
// }
// System.out.println(msg);
String result;
String url = "https://qyapi.weixin.qq.com/cgi-bin/message/send?";
String secret = MemoryPropertyPlaceholderConfigurer.getContextProperty("WECHAT.IM.SECRET");
......
......@@ -1132,7 +1132,7 @@ public class StaffDuty implements IStaffDuty {
String mobile = userEntity.getMobile();
String msg = "定时营销活动拉取失败";
msg = URLEncoder.encode(msg, "GBK");
String smUrl = "http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
String smUrl = "http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/";
smUrl = smUrl + city + "/" + "mobileno/" + mobile;
List<NameValuePair> params = new ArrayList<>();
params.add(new BasicNameValuePair("msg", msg));
......
......@@ -37,14 +37,14 @@ CRM.CUSTOMER.INFO.URL=http://tcrm.house365.com/index.php/Simulate/getmember_view
CRM.WECHAT.CUSTOMER.INFO.URL=http://crmtouch.house365.com/index.php?m=Home&c=Api&a=MemberViewHyperlink&source=hgs&nonce=
CRM.TOUCH.HOST=http://crmtouch.house365.com
CRM.CUSTOMER.CALLBACK=http://tcrm.house365.com/api/hgs/pingback
unbindcornet.url=http://api.400.house365.com/api/5a9ea13f5e42c
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
CRM.CONFIG.URL=http://tcrm.house365.com/api/hgs/definition
#CRM.CUSTOMERQUERY.URL=http://crmtest.house365.com/api/hgs/query
CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
CRM.CONFIRM.URL=http://crmtest.house365.com/api/hgs/confirm
#\u7EA6\u770B\u63D0\u9192#
system.customer.noticeUrl=http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
system.customer.noticeUrl=http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
WECHAT.SERVICE.URL=http://127.0.0.1:9200
WECHAT.COMPANYID=1
WECHAT.CROP_ID=wx32f3a81d82530a8f
......
......@@ -31,18 +31,18 @@ keepAliveTime=60
#production or test
system.env=production
CRM.CUSTOMERPROJECT.UPDATESTATUS.URL=http://crm.house365.com:81/api/hgs/update?apiLevel=1.0
CRM.CUSTOMER.ADD.URL=http://crm.house365.com:81/index.php/Simulate/sea_utf8?
CRM.CUSTOMER.INFO.URL=http://crm.house365.com:81/index.php/Simulate/getmember_view?source=hgs&nonce=
CRM.CUSTOMERPROJECT.UPDATESTATUS.URL=http://crm.house365.com/api/hgs/update?apiLevel=1.0
CRM.CUSTOMER.ADD.URL=http://crm.house365.com/index.php/Simulate/sea_utf8?
CRM.CUSTOMER.INFO.URL=http://crm.house365.com/index.php/Simulate/getmember_view?source=hgs&nonce=
CRM.WECHAT.CUSTOMER.INFO.URL=http://crmtouch.house365.com/index.php?m=Home&c=Api&a=MemberViewHyperlink&source=hgs&nonce=
CRM.TOUCH.HOST=http://crmtouch.house365.com
CRM.CUSTOMER.CALLBACK=http://crm.house365.com/api/hgs/pingback
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
CRM.CONFIG.URL=http://crm.house365.com:81/api/hgs/definition
CRM.CONFIG.URL=http://crm.house365.com/api/hgs/definition
CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
CRM.CONFIRM.URL=http://crm.house365.com/api/hgs/confirm
#\u7EA6\u770B\u63D0\u9192#
system.customer.noticeUrl=http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
system.customer.noticeUrl=http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
#正式环境地址
tangfanghui.server.url=http://mobitfadmin.house365.com/house365-taofanghui/rest/interface
#预发环境地址
......
......@@ -29,22 +29,22 @@ keepAliveTime=60
#production or test
system.env=test
#CRM.CUSTOMERPROJECT.UPDATESTATUS.URL=http://218.94.115.131:8881/api/hgs/update?apiLevel=1.0
CRM.CUSTOMERPROJECT.UPDATESTATUS.URL=http://crm.house365.com:81/api/hgs/update?apiLevel=1.0
CRM.CUSTOMERPROJECT.UPDATESTATUS.URL=http://crm.house365.com/api/hgs/update?apiLevel=1.0
#CRM.CUSTOMER.ADD.URL=http://218.94.115.131:8881/index.php/Simulate/sea_utf8?
CRM.CUSTOMER.ADD.URL=http://crm.house365.com:81/index.php/Simulate/sea_utf8?
CRM.CUSTOMER.ADD.URL=http://crm.house365.com/index.php/Simulate/sea_utf8?
unbindcornet.url=http://tel400.house365.com/api/5a9ea13f5e42c
#CRM.CUSTOMER.INFO.URL=http://218.94.115.131:8881/index.php/Simulate/getmember_view?source=hgs&nonce=
CRM.CUSTOMER.INFO.URL=http://crm.house365.com:81/index.php/Simulate/getmember_view?source=hgs&nonce=
CRM.CUSTOMER.INFO.URL=http://crm.house365.com/index.php/Simulate/getmember_view?source=hgs&nonce=
CRM.WECHAT.CUSTOMER.INFO.URL=http://crmtouch.house365.com/index.php?m=Home&c=Api&a=MemberViewHyperlink&source=hgs&nonce=
CRM.TOUCH.HOST=http://crmtouch.house365.com
#CRM.CUSTOMER.CALLBACK=http://218.94.115.131:8881/index.php/Simulate/precision_marketing_pingback
CRM.CUSTOMER.CALLBACK=http://crm.house365.com/api/hgs/pingback
#CRM.CONFIG.URL=http://218.94.115.131:8881/api/hgs/definition
CRM.CONFIG.URL=http://crm.house365.com:81/api/hgs/definition
CRM.CONFIG.URL=http://crm.house365.com/api/hgs/definition
#CRM.CUSTOMERQUERY.URL=http://218.94.115.131:8881/api/hgs/query
CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
#\u7EA6\u770B\u63D0\u9192#
system.customer.noticeUrl=http://mysms.house365.com:81/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
system.customer.noticeUrl=http://mysms.house365.com/index.php/Interface/apiSendMobil/jid/104/depart/1/city/
tangfanghui.server.url=http://mobitfadmin.house365.com/house365-taofanghui/rest/interface
WECHAT.SERVICE.URL=http://hgstest.house365.com
#WECHAT.SERVICE.URL=http://qyhgs.house365.com
......
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