Commit 1583ed6f authored by yanzg's avatar yanzg

修改保存历史记录

parent ad44d4d7
...@@ -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.postApplicationJSON(url, post);
System.out.println(result); System.out.println(result);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment