TASK:代码提交;
This commit is contained in:
@@ -22,6 +22,8 @@ import lombok.NoArgsConstructor;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -102,10 +104,25 @@ public class WorkspaceController {
|
||||
|
||||
@PostMapping("system_file_copy")
|
||||
@ApiOperationSupport(order = 7)
|
||||
@ApiOperation(value = "文件复制", notes = "传入id")
|
||||
@ApiOperation(value = "minio数据迁移")
|
||||
public Response<Boolean> systemFileCopy() {
|
||||
workspaceService.systemFileCopy();
|
||||
return Response.success(true);
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("moveFile")
|
||||
@ApiOperationSupport(order = 7)
|
||||
@ApiOperation(value = "增加一级性别路径")
|
||||
public Response<Boolean> moveFile() {
|
||||
workspaceService.moveFile();
|
||||
return Response.success(true);
|
||||
}
|
||||
|
||||
@PostMapping("maleDataInsert")
|
||||
@ApiOperationSupport(order = 7)
|
||||
@ApiOperation(value = "男装数据入库入minio")
|
||||
public Response<Boolean> maleDataInsert() throws FileNotFoundException {
|
||||
workspaceService.maleDataInsert();
|
||||
return Response.success(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user