Commit 6590f3cf authored by yanzg's avatar yanzg

导出Excel边框

parent 60b977c0
...@@ -3,9 +3,11 @@ package helper; ...@@ -3,9 +3,11 @@ package helper;
import com.yanzuoguang.util.helper.BaiduHelper; import com.yanzuoguang.util.helper.BaiduHelper;
import com.yanzuoguang.util.helper.HttpHelper; import com.yanzuoguang.util.helper.HttpHelper;
import com.yanzuoguang.util.helper.JsonHelper; import com.yanzuoguang.util.helper.JsonHelper;
import com.yanzuoguang.util.helper.StringHelper;
import helper.vo.BaiduDate; import helper.vo.BaiduDate;
import org.junit.Test; import org.junit.Test;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -62,4 +64,28 @@ public class HttpHelperTest { ...@@ -62,4 +64,28 @@ public class HttpHelperTest {
String result = HttpHelper.postApplicationJSON(url, post); String result = HttpHelper.postApplicationJSON(url, post);
System.out.println(result); System.out.println(result);
} }
@Test
public void testReq() throws Exception {
String result = HttpHelper.postRequest("http://127.0.0.1:6903/test/wait/11500", new ArrayList<>());
System.out.println(result);
}
@Test
public void testReqWait() throws Exception {
String result = HttpHelper.postRequest("http://127.0.0.1:6903/test/wait/20000", new ArrayList<>());
System.out.println(result);
}
@Test
public void testReq1() throws Exception {
String result = HttpHelper.post("http://127.0.0.1:6903/test/wait/11500", StringHelper.EMPTY);
System.out.println(result);
}
@Test
public void testReqWait1() throws Exception {
String result = HttpHelper.post("http://127.0.0.1:6903/test/wait/20000", StringHelper.EMPTY);
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