Commit 4b1b833f authored by yexiong.wang's avatar yexiong.wang

注释fastDfs

parent fb5a0b6b
package cn.quantgroup.customer.service; //package cn.quantgroup.customer.service;
//
import java.io.IOException; //import java.io.IOException;
import java.io.InputStream; //import java.io.InputStream;
//
/** ///**
* fastDFS 接入 http://confluence.quantgroup.cn/x/bMU5AQ // * fastDFS 接入 http://confluence.quantgroup.cn/x/bMU5AQ
* // *
* @author jingfeng.guo // * @author jingfeng.guo
* @since 2019-08-24 17:04 // * @since 2019-08-24 17:04
*/ // */
//
public interface IFastDFSService { //public interface IFastDFSService {
//
/** // /**
* 上传文件 // * 上传文件
* // *
* @param fileInput // * @param fileInput
* @param fileSize // * @param fileSize
* @param fileExtName 扩展名 // * @param fileExtName 扩展名
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
String uploadFile(InputStream fileInput, Long fileSize, String fileExtName) throws IOException; // String uploadFile(InputStream fileInput, Long fileSize, String fileExtName) throws IOException;
//
/** // /**
* 上传文件 // * 上传文件
* // *
* @param bytes // * @param bytes
* @param fileExtName // * @param fileExtName
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
String uploadFile(byte[] bytes, String fileExtName) throws IOException; // String uploadFile(byte[] bytes, String fileExtName) throws IOException;
//
/** // /**
* 文件上传, 下载url 再传 // * 文件上传, 下载url 再传
* // *
* @param url // * @param url
* @param fileExtName // * @param fileExtName
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
String uploadFile(String url, String fileExtName) throws IOException; // String uploadFile(String url, String fileExtName) throws IOException;
//
//
/** // /**
* 上传文件 base64 // * 上传文件 base64
* // *
* @param base64String // * @param base64String
* @param fileExtName // * @param fileExtName
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
String uploadFileOfBase64String(String base64String, String fileExtName) throws IOException; // String uploadFileOfBase64String(String base64String, String fileExtName) throws IOException;
//
/** // /**
* 下载文件 // * 下载文件
* // *
* @param path // * @param path
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
byte[] downloadFile(String path) throws IOException; // byte[] downloadFile(String path) throws IOException;
//
/** // /**
* 转成一个临时可用的url // * 转成一个临时可用的url
* // *
* @param path // * @param path
* @return // * @return
* @throws IOException // * @throws IOException
*/ // */
String toUrl(String path) throws IOException; // String toUrl(String path) throws IOException;
} //}
...@@ -14,7 +14,7 @@ import cn.quantgroup.customer.rest.param.vcc.UserPreRepayInfoQuery; ...@@ -14,7 +14,7 @@ import cn.quantgroup.customer.rest.param.vcc.UserPreRepayInfoQuery;
import cn.quantgroup.customer.rest.vo.JsonResult; import cn.quantgroup.customer.rest.vo.JsonResult;
import cn.quantgroup.customer.rest.vo.vcc.QueryPreOfflineRepayVo; import cn.quantgroup.customer.rest.vo.vcc.QueryPreOfflineRepayVo;
import cn.quantgroup.customer.rest.vo.vcc.QuerySubmitRecordVo; import cn.quantgroup.customer.rest.vo.vcc.QuerySubmitRecordVo;
import cn.quantgroup.customer.service.IFastDFSService; //import cn.quantgroup.customer.service.IFastDFSService;
import cn.quantgroup.customer.service.IOpSystemService; import cn.quantgroup.customer.service.IOpSystemService;
import cn.quantgroup.customer.service.IVccService; import cn.quantgroup.customer.service.IVccService;
import cn.quantgroup.customer.service.ftp.IFtpService; import cn.quantgroup.customer.service.ftp.IFtpService;
...@@ -62,8 +62,8 @@ public class VccServiceImpl implements IVccService { ...@@ -62,8 +62,8 @@ public class VccServiceImpl implements IVccService {
private OfflineRepayOperateRecordRepo offlineRepayOperateRecordRepo; private OfflineRepayOperateRecordRepo offlineRepayOperateRecordRepo;
@Autowired @Autowired
private IOpSystemService IOpSystemService; private IOpSystemService IOpSystemService;
@Autowired // @Autowired
private IFastDFSService fastDfsService; // private IFastDFSService fastDfsService;
@Autowired @Autowired
private IFtpService ftpService; private IFtpService ftpService;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment