|
@@ -28,8 +28,8 @@ public class TestController {
|
|
|
private FYunFileServiceInterface fYunFileService;
|
|
|
|
|
|
@GetMapping("/test")
|
|
|
- public ResultData test(){
|
|
|
- fYunFileService.uploadFile("4dkankan","C:\\Users\\4dage\\Downloads\\4DKanKan_share.png", "test_1/test.png");
|
|
|
+ public ResultData test(String path){
|
|
|
+ fYunFileService.uploadFile("4dkankan", path, "test_1/test.png");
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
|