|
@@ -0,0 +1,25 @@
|
|
|
+package com.boot.security.server.service;
|
|
|
+
|
|
|
+import java.io.IOException;
|
|
|
+
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
+
|
|
|
+import com.boot.security.server.model.FileInfo;
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * Class Name: FileService.java
|
|
|
+ * Description:
|
|
|
+ * @author hp DateTime 2019年7月4日 上午11:15:45
|
|
|
+ * @company bvit
|
|
|
+ * @email hu.peng@bvit.com.cn
|
|
|
+ * @version 1.0
|
|
|
+ *
|
|
|
+
|
|
|
+ */
|
|
|
+public interface FileService {
|
|
|
+
|
|
|
+ FileInfo save(MultipartFile file) throws IOException;
|
|
|
+
|
|
|
+ void delete(String id);
|
|
|
+
|
|
|
+}
|