Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
Hgs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐州
Hgs
Commits
ce6f5be6
Commit
ce6f5be6
authored
Mar 30, 2021
by
jay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
81端口号去除
parent
88a757b6
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
41 additions
and
56 deletions
+41
-56
SmsUtils.java
...k/src/main/java/com/house365/commons/system/SmsUtils.java
+3
-3
system.properties
...c/main/resources/development/properties/system.properties
+6
-6
system.properties
...rc/main/resources/production/properties/system.properties
+7
-7
system.properties
...-web/src/main/resources/test/properties/system.properties
+7
-7
PropertyReportImpl.java
...a/com/house365/ws/interfaces/impl/PropertyReportImpl.java
+1
-1
AddHotlineCustomerInfoImpl.java
...use365/ws/interfaces/rest/AddHotlineCustomerInfoImpl.java
+1
-1
AddPromoteCustomerImpl.java
...m/house365/ws/interfaces/rest/AddPromoteCustomerImpl.java
+1
-1
SendMsgImpl.java
...c/main/java/com/house365/ws/service/impl/SendMsgImpl.java
+2
-17
StaffDuty.java
...src/main/java/com/house365/ws/service/impl/StaffDuty.java
+1
-1
system.properties
...c/main/resources/development/properties/system.properties
+2
-2
system.properties
...rc/main/resources/production/properties/system.properties
+5
-5
system.properties
...s-ws/src/main/resources/test/properties/system.properties
+5
-5
No files found.
house365-framework/src/main/java/com/house365/commons/system/SmsUtils.java
View file @
ce6f5be6
...
...
@@ -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);
...
...
house365-hgs-web/src/main/resources/development/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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://
tel
400.house365.com/api/5a9ea13f5e42c
modifycornet.url
=
http://tel400.house365.com/api/5ad6b66e28cec
## rest interface common params
rest.commonParams
=
serviceCode,serviceName
...
...
house365-hgs-web/src/main/resources/production/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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
...
...
house365-hgs-web/src/main/resources/test/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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
...
...
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/impl/PropertyReportImpl.java
View file @
ce6f5be6
...
...
@@ -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
));
...
...
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/rest/AddHotlineCustomerInfoImpl.java
View file @
ce6f5be6
...
...
@@ -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
));
...
...
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/rest/AddPromoteCustomerImpl.java
View file @
ce6f5be6
...
...
@@ -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
...
...
house365-hgs-ws/src/main/java/com/house365/ws/service/impl/SendMsgImpl.java
View file @
ce6f5be6
...
...
@@ -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"
);
...
...
house365-hgs-ws/src/main/java/com/house365/ws/service/impl/StaffDuty.java
View file @
ce6f5be6
...
...
@@ -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
));
...
...
house365-hgs-ws/src/main/resources/development/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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://
tel
400.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
...
...
house365-hgs-ws/src/main/resources/production/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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
#预发环境地址
...
...
house365-hgs-ws/src/main/resources/test/properties/system.properties
View file @
ce6f5be6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment