Blame view

service-api/src/main/java/com/java110/api/smo/file/IAddFileSMO.java 571 Bytes
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  package com.java110.api.smo.file;
  
  import com.java110.core.context.IPageData;
  import org.springframework.http.ResponseEntity;
  import org.springframework.web.multipart.MultipartFile;
  
  import java.io.IOException;
  
  /**
   * 添加沃文件接口
   *
   * add by wuxw 2019-06-30
   */
  public interface IAddFileSMO {
  
      /**
       * 添加文件
       * @param pd 页面数据封装
       * @return ResponseEntity 对象
       */
      ResponseEntity<String> saveFile(IPageData pd, MultipartFile uploadFile) throws IOException;
  
       ResponseEntity<String> savePhotoFile(IPageData pd);
  }