add uoload check

This commit is contained in:
Looly
2021-01-22 22:41:49 +08:00
parent 93df8333df
commit 103f352cf4
5 changed files with 35 additions and 24 deletions

View File

@@ -51,10 +51,10 @@ public class UploadTest {
@Test
@Ignore
public void uploadTest() {
public void uploadTest2() {
//客户端
String url = "http://localhost:8888/file";
Path file = Paths.get("D:\\testBigData_upload.xlsx");
String url = "http://192.168.1.200:8888/meta/upload/img";
Path file = Paths.get("D:\\test\\testBigData_upload.xlsx");
Map<String, String> headers = new HashMap<>(16);
headers.put("md5", "aaaaaaaa");