Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
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
YZG
yzg-util
Commits
1583ed6f
Commit
1583ed6f
authored
Jul 27, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改保存历史记录
parent
ad44d4d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HttpHelperTest.java
yzg-util-base/src/test/java/helper/HttpHelperTest.java
+2
-2
No files found.
yzg-util-base/src/test/java/helper/HttpHelperTest.java
View file @
1583ed6f
...
@@ -57,9 +57,9 @@ public class HttpHelperTest {
...
@@ -57,9 +57,9 @@ public class HttpHelperTest {
@Test
@Test
public
void
testRequest
()
{
public
void
testRequest
()
{
String
url
=
"http://
39f55e6bb381
.ngrok.io/reserveInfo/addSgReserveInfo.do"
;
String
url
=
"http://
cd2da444e859
.ngrok.io/reserveInfo/addSgReserveInfo.do"
;
String
post
=
"{\"appointmentDate\":\"2021-07-27\",\"arriveAddress\":\"40288ae86ccd4bc8016ccd4c84cf0001\",\"arriveTime\":\"0\",\"cardType\":\"二代身份证\",\"openid\":\"TBD\",\"visitorCardId\":\"43052419871104817X\",\"visitorName\":\"燕子\",\"visitorPhone\":\"13800138000\"}"
;
String
post
=
"{\"appointmentDate\":\"2021-07-27\",\"arriveAddress\":\"40288ae86ccd4bc8016ccd4c84cf0001\",\"arriveTime\":\"0\",\"cardType\":\"二代身份证\",\"openid\":\"TBD\",\"visitorCardId\":\"43052419871104817X\",\"visitorName\":\"燕子\",\"visitorPhone\":\"13800138000\"}"
;
String
result
=
HttpHelper
.
post
(
url
,
post
);
String
result
=
HttpHelper
.
post
ApplicationJSON
(
url
,
post
);
System
.
out
.
println
(
result
);
System
.
out
.
println
(
result
);
}
}
}
}
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