|
@@ -52,7 +52,7 @@ public class OssClientTest {
|
|
|
final String fileMd5 = "80bf42bd4d12b2a38eff3b32249b17fd";
|
|
|
|
|
|
FssService fssService = FssFactory.getInstance(false);
|
|
|
- System.out.println(new JsonMapper().toJson(fssService.buildSign(filePath)));
|
|
|
+ System.out.println(new JsonMapper().toJson(fssService.buildSign(filePath, fileMd5)));
|
|
|
|
|
|
// FssFileInfo result = fssService.writeFile(filePath, testFile, fileMd5);
|
|
|
byte[] testBytes = IOUtils.toByteArray(Files.newInputStream(testFile.toPath()));
|