Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
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
曲欣亮
shop
Commits
bd77cc0e
Commit
bd77cc0e
authored
Nov 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
b08b7f5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Express.java
src/main/java/com/egolm/shop/util/Express.java
+2
-2
No files found.
src/main/java/com/egolm/shop/util/Express.java
View file @
bd77cc0e
...
@@ -49,8 +49,8 @@ public class Express {
...
@@ -49,8 +49,8 @@ public class Express {
public
JSONArray
get
(
String
sExpressNO
,
String
sExpressType
)
{
public
JSONArray
get
(
String
sExpressNO
,
String
sExpressType
)
{
Map
<
String
,
String
>
headers
=
this
.
getHeaders
();
Map
<
String
,
String
>
headers
=
this
.
getHeaders
();
Map
<
String
,
String
>
queryParams
=
new
HashMap
<
String
,
String
>();
Map
<
String
,
String
>
queryParams
=
new
HashMap
<
String
,
String
>();
queryParams
.
put
(
"number"
,
sExpressNO
);
queryParams
.
put
(
"number"
,
sExpressNO
.
trim
()
);
queryParams
.
put
(
"type"
,
sExpressType
);
queryParams
.
put
(
"type"
,
sExpressType
==
null
?
""
:
sExpressType
.
trim
()
);
String
result
=
HttpUtil
.
get
(
url
,
queryParams
,
headers
);
String
result
=
HttpUtil
.
get
(
url
,
queryParams
,
headers
);
JSONObject
jsonObject
=
null
;
JSONObject
jsonObject
=
null
;
try
{
try
{
...
...
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