fox licene in pom and remove log for htttp

This commit is contained in:
Looly
2019-09-03 16:27:29 +08:00
parent 5e4718c8ce
commit 1caf64f4ac
9 changed files with 19 additions and 36 deletions

View File

@@ -18,6 +18,7 @@ import cn.hutool.json.JSONUtil;
public class RestTest {
@Test
@SuppressWarnings("deprecation")
public void contentTypeTest() {
HttpRequest request = HttpRequest.post("http://localhost:8090/rest/restTest/")//
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));
@@ -26,6 +27,7 @@ public class RestTest {
@Test
@Ignore
@SuppressWarnings("deprecation")
public void postTest() {
HttpRequest request = HttpRequest.post("http://localhost:8090/rest/restTest/")//
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));
@@ -42,6 +44,7 @@ public class RestTest {
@Test
@Ignore
@SuppressWarnings("deprecation")
public void postTest3() {
HttpRequest request = HttpRequest.post("http://211.162.39.204:8181/jeesite-simple/a/open/bizGwbnService/test")//
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));