Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
c1e4718f
Commit
c1e4718f
authored
Feb 05, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭代理、更新正式环境地址
parent
3e99e4ed
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
16 deletions
+21
-16
apply-net/src/main/java/com/winsun/controller/DankuanController.java
+6
-5
apply-net/src/main/java/com/winsun/controller/RongHeController.java
+5
-2
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
+7
-7
migration/src/main/java/com/winsun/migration/service/impl/MigrationServiceImpl.java
+2
-1
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
+1
-1
No files found.
apply-net/src/main/java/com/winsun/controller/DankuanController.java
View file @
c1e4718f
...
...
@@ -477,17 +477,18 @@ public class DankuanController {
map
.
put
(
"ORDERNUMBER"
,
orderView
.
getOrderNumber
());
//身份证
if
(
Constant
.
Payment1
.
equals
(
ipay
))
{
//
if (Constant.Payment1.equals(ipay)) {
//支付成功回调的页面
// String MERCHANTURL = Constant.TOMCATURL + "/dankuan/toPaymentSuccessPage?id=" + userId +"orderId="+id;
String
MERCHANTURL
=
"http://3715zj2369.qicp.vip/#/hhr/dkSuccessful?id="
+
userId
+
"&"
+
"orderId="
+
id
;
// 正式地址
String
MERCHANTURL
=
"https://dx.dianyuanjiangli.com/#/mobile/hhr/dkSuccessful?id="
+
userId
+
"&"
+
"orderId="
+
id
;
map
.
put
(
"MERCHANTURL"
,
MERCHANTURL
);
}
//
}
//单宽回调后端接口地址
// map.put("BACKDROPURL", Constant.TOMCATURL + "/dankuan/toSubmisOrderPreser");
//
测试
地址
map
.
put
(
"BACKDROPURL"
,
"http
://3715zj2369.qicp.vip
/ciop/dankuan/toSubmisOrderPreser"
);
//
正式
地址
map
.
put
(
"BACKDROPURL"
,
"http
s://dx.dianyuanjiangli.com/apply-net
/ciop/dankuan/toSubmisOrderPreser"
);
String
str
=
"ORDERSEQ="
+
orderView
.
getOrderSeq
()
+
"&ORDERDATE="
+
ft
.
format
(
orderdate
)
+
"&ORDERAMOUNT="
+
orderView
.
getWebOrderAmount
()
+
"&KEY="
+
Constant
.
APPK
;
//商户标识
...
...
apply-net/src/main/java/com/winsun/controller/RongHeController.java
View file @
c1e4718f
...
...
@@ -466,13 +466,16 @@ public class RongHeController {
//支付成功回调的页面
/* String MERCHANTURL = Constant.TOMCATURL + "/dankuan/toSubmisOrderPreser?id=" + userId +"orderId="+id;*/
/* String MERCHANTURL = "http://167460x6b0.51mypc.cn/ciop/rongHe/toSubmisOrderPreser?id=" + userId +"orderId="+id;*/
String
MERCHANTURL
=
"http://chengfengluo.ngrok2.xiaomiqiu.cn/#/hhr/dkSuccessful?id="
+
userId
+
"&"
+
"orderId="
+
id
;
// 正式地址
String
MERCHANTURL
=
"https://dx.dianyuanjiangli.com/#/mobile/hhr/dkSuccessful?id="
+
userId
+
"&"
+
"orderId="
+
id
;
// String MERCHANTURL = "http://chengfengluo.ngrok2.xiaomiqiu.cn/#/hhr/dkSuccessful?id="+userId+"&"+"orderId="+id;
map
.
put
(
"MERCHANTURL"
,
MERCHANTURL
);
// }
// 融合回调后端接口地址
// map.put("BACKDROPURL", Constant.TOMCATURL + "/rongHe/toSubmisOrderPreser");
// map.put("BACKDROPURL", "http://3715zj2369.qicp.vip/ciop/rongHe/toSubmisOrderPreser");
map
.
put
(
"BACKDROPURL"
,
"http://chengfengluo.ngrok2.xiaomiqiu.cn/ciop/rongHe/toSubmisOrderPreser"
);
//正式地址
map
.
put
(
"BACKDROPURL"
,
"https://dx.dianyuanjiangli.com/apply-net/ciop/rongHe/toSubmisOrderPreser"
);
String
str
=
"ORDERSEQ="
+
orderView
.
getOrderSeq
()
+
"&ORDERDATE="
+
ft
.
format
(
orderdate
)
+
"&ORDERAMOUNT="
+
orderView
.
getWebOrderAmount
()
+
"&KEY="
+
Constant
.
APPK
;
//商户标识
//* 将值转换为大写 *//*
...
...
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
View file @
c1e4718f
...
...
@@ -353,13 +353,13 @@ public class IntelligenceSendOrder {
int
count
)
throws
Exception
{
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
HttpHost
proxy
=
new
HttpHost
(
"172.18.101.170"
,
3128
);
//
HttpHost proxy = new HttpHost("172.18.101.170", 3128);
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
()
.
setSocketTimeout
(
50000
)
.
setConnectTimeout
(
50000
)
.
setConnectionRequestTimeout
(
50000
)
.
setProxy
(
proxy
)
//
.setProxy(proxy)
.
build
();
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
).
build
();
...
...
@@ -796,7 +796,7 @@ public class IntelligenceSendOrder {
throws
Exception
{
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
Map
<
String
,
String
>
signMap
=
new
HashMap
<
String
,
String
>();
// 待签名参数
HttpHost
proxy
=
new
HttpHost
(
"172.18.101.170"
,
3128
);
//
HttpHost proxy = new HttpHost("172.18.101.170", 3128);
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
()
.
setSocketTimeout
(
500000
)
...
...
@@ -1041,13 +1041,13 @@ public class IntelligenceSendOrder {
}
}
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
HttpHost
proxy
=
new
HttpHost
(
"172.18.101.170"
,
3128
);
//
HttpHost proxy = new HttpHost("172.18.101.170", 3128);
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
()
.
setSocketTimeout
(
500000
)
.
setConnectTimeout
(
500000
)
.
setConnectionRequestTimeout
(
500000
)
.
setProxy
(
proxy
)
//
.setProxy(proxy)
.
build
();
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
).
build
();
...
...
@@ -1572,13 +1572,13 @@ public class IntelligenceSendOrder {
}
// 3、提交订单到智能平台
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
HttpHost
proxy
=
new
HttpHost
(
"172.18.101.170"
,
3128
);
//
HttpHost proxy = new HttpHost("172.18.101.170", 3128);
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
()
.
setSocketTimeout
(
500000
)
.
setConnectTimeout
(
500000
)
.
setConnectionRequestTimeout
(
500000
)
.
setProxy
(
proxy
)
//
.setProxy(proxy)
.
build
();
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
).
build
();
...
...
migration/src/main/java/com/winsun/migration/service/impl/MigrationServiceImpl.java
View file @
c1e4718f
...
...
@@ -183,7 +183,8 @@ public class MigrationServiceImpl implements IMigrationService {
this
.
insertYRYMUser
();
this
.
migrationSchoolPackage
();
// 此为新增(只要运行一次)
// this.migrationSchoolPackage();
}
/**
...
...
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
View file @
c1e4718f
...
...
@@ -58,7 +58,7 @@ public class RhZhiNenTask {
* 下发智能平台订单
*
*/
@Scheduled
(
cron
=
"0 0/
5 0
* * ? "
)
@Scheduled
(
cron
=
"0 0/
6 *
* * ? "
)
// @Scheduled(fixedRate=2800000)
public
void
sendZhiNengOrder
()
{
log
.
info
(
"智能平台定时器下单启动"
);
...
...
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