Blame view

service-api/src/main/java/com/java110/api/components/file/UploadVedioComponent.java 1.09 KB
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  package com.java110.api.components.file;
  
  
  import com.java110.api.smo.file.IUploadVedioSMO;
  import com.java110.core.context.IPageData;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.http.ResponseEntity;
  import org.springframework.stereotype.Component;
  import org.springframework.web.multipart.MultipartFile;
  
  import java.io.IOException;
  
  
  /**
   * 应用组件管理类
   * <p>
   * add by wuxw
   * <p>
   * 2019-06-29
   */
  @Component("uploadVedio")
  public class UploadVedioComponent {
  
      @Autowired
      private IUploadVedioSMO uploadVedioSMOImpl;
  
  
      /**
       * 查询应用列表
       *
       * @param pd 页面数据封装
       * @return 返回 ResponseEntity 对象
       */
      public ResponseEntity<Object> upload(IPageData pd,MultipartFile uploadFile) throws IOException {
          return uploadVedioSMOImpl.upload(pd,uploadFile);
      }
  
      public IUploadVedioSMO getUploadVedioSMOImpl() {
          return uploadVedioSMOImpl;
      }
  
      public void setUploadVedioSMOImpl(IUploadVedioSMO uploadVedioSMOImpl) {
          this.uploadVedioSMOImpl = uploadVedioSMOImpl;
      }
  }