Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
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
hlcm
leaf-hlcm
Commits
601509ba
Commit
601509ba
authored
Feb 24, 2023
by
Luochenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件上传
parent
a06e35ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
HttpPostAttUtil.java
src/main/java/com/hand/att/HttpPostAttUtil.java
+0
-3
No files found.
src/main/java/com/hand/att/HttpPostAttUtil.java
View file @
601509ba
...
@@ -97,9 +97,6 @@ public class HttpPostAttUtil {
...
@@ -97,9 +97,6 @@ public class HttpPostAttUtil {
httpPost
.
setEntity
(
httpEntity
);
//设置请求参数
httpPost
.
setEntity
(
httpEntity
);
//设置请求参数
HttpResponse
response
=
httpClient
.
execute
(
httpPost
);
HttpResponse
response
=
httpClient
.
execute
(
httpPost
);
HttpEntity
responseEntity
=
response
.
getEntity
();
HttpEntity
responseEntity
=
response
.
getEntity
();
RestTemplate
request
=
new
RestTemplate
();
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
set
(
"Authorization"
,
tokentype
+
" "
+
token
);
String
result
=
EntityUtils
.
toString
(
responseEntity
,
java
.
nio
.
charset
.
Charset
.
forName
(
"UTF-8"
));
String
result
=
EntityUtils
.
toString
(
responseEntity
,
java
.
nio
.
charset
.
Charset
.
forName
(
"UTF-8"
));
return
result
;
return
result
;
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
...
...
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