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
d0b6b1b4
Commit
d0b6b1b4
authored
Feb 09, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除毕业生融合提交智能平台代理
parent
3f9d029f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
new-user/src/main/java/com/winsun/controller/StartSelectController.java
+7
-5
No files found.
new-user/src/main/java/com/winsun/controller/StartSelectController.java
View file @
d0b6b1b4
...
@@ -93,7 +93,7 @@ public class StartSelectController {
...
@@ -93,7 +93,7 @@ public class StartSelectController {
try
{
try
{
List
<
Map
<
String
,
Object
>>
maps
=
orderMapper
.
selectBys
(
phone
);
List
<
Map
<
String
,
Object
>>
maps
=
orderMapper
.
selectBys
(
phone
);
if
(
maps
==
null
||
map
.
size
()
==
0
)
{
if
(
maps
==
null
||
map
s
.
size
()
==
0
)
{
return
ResponseData
.
error
(
"该号码不允许办理此业务。"
);
return
ResponseData
.
error
(
"该号码不允许办理此业务。"
);
}
}
...
@@ -247,10 +247,11 @@ public class StartSelectController {
...
@@ -247,10 +247,11 @@ public class StartSelectController {
private
JSONObject
getOrderBYSRHInfo
(
Map
<
String
,
String
[]>
parameterMap
,
String
currentTimeStr
,
String
productId
,
Map
<
String
,
String
>
objectMap
)
throws
Exception
{
private
JSONObject
getOrderBYSRHInfo
(
Map
<
String
,
String
[]>
parameterMap
,
String
currentTimeStr
,
String
productId
,
Map
<
String
,
String
>
objectMap
)
throws
Exception
{
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
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
)
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
().
setSocketTimeout
(
500000
)
.
setConnectTimeout
(
500000
).
setConnectionRequestTimeout
(
500000
)
.
setConnectTimeout
(
500000
).
setConnectionRequestTimeout
(
500000
)
.
setProxy
(
proxy
).
build
();
// .setProxy(proxy)
.
build
();
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
)
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
)
.
build
();
.
build
();
...
@@ -668,10 +669,11 @@ public class StartSelectController {
...
@@ -668,10 +669,11 @@ public class StartSelectController {
private
JSONObject
getSaleId
(
String
productId
,
String
currentTimeStr
)
throws
Exception
{
private
JSONObject
getSaleId
(
String
productId
,
String
currentTimeStr
)
throws
Exception
{
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
List
<
NameValuePair
>
qParams
=
new
ArrayList
<
NameValuePair
>();
Map
<
String
,
String
>
signMap
=
new
HashMap
<
String
,
String
>();
//待签名参数
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
)
RequestConfig
defaultRequestConfig
=
RequestConfig
.
custom
().
setSocketTimeout
(
500000
)
.
setConnectTimeout
(
500000
).
setConnectionRequestTimeout
(
500000
)
.
setConnectTimeout
(
500000
).
setConnectionRequestTimeout
(
500000
)
.
setProxy
(
proxy
).
build
();
// .setProxy(proxy)
.
build
();
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
)
CloseableHttpClient
httpclient
=
HttpClients
.
custom
().
setDefaultRequestConfig
(
defaultRequestConfig
)
.
build
();
.
build
();
...
...
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