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

注释fastDfs

parent fb5a0b6b
package cn.quantgroup.customer.service;
import java.io.IOException;
import java.io.InputStream;
/**
* fastDFS 接入 http://confluence.quantgroup.cn/x/bMU5AQ
*
* @author jingfeng.guo
* @since 2019-08-24 17:04
*/
public interface IFastDFSService {
/**
* 上传文件
*
* @param fileInput
* @param fileSize
* @param fileExtName 扩展名
* @return
* @throws IOException
*/
String uploadFile(InputStream fileInput, Long fileSize, String fileExtName) throws IOException;
/**
* 上传文件
*
* @param bytes
* @param fileExtName
* @return
* @throws IOException
*/
String uploadFile(byte[] bytes, String fileExtName) throws IOException;
/**
* 文件上传, 下载url 再传
*
* @param url
* @param fileExtName
* @return
* @throws IOException
*/
String uploadFile(String url, String fileExtName) throws IOException;
/**
* 上传文件 base64
*
* @param base64String
* @param fileExtName
* @return
* @throws IOException
*/
String uploadFileOfBase64String(String base64String, String fileExtName) throws IOException;
/**
* 下载文件
*
* @param path
* @return
* @throws IOException
*/
byte[] downloadFile(String path) throws IOException;
/**
* 转成一个临时可用的url
*
* @param path
* @return
* @throws IOException
*/
String toUrl(String path) throws IOException;
}
//package cn.quantgroup.customer.service;
//
//import java.io.IOException;
//import java.io.InputStream;
//
///**
// * fastDFS 接入 http://confluence.quantgroup.cn/x/bMU5AQ
// *
// * @author jingfeng.guo
// * @since 2019-08-24 17:04
// */
//
//public interface IFastDFSService {
//
// /**
// * 上传文件
// *
// * @param fileInput
// * @param fileSize
// * @param fileExtName 扩展名
// * @return
// * @throws IOException
// */
// String uploadFile(InputStream fileInput, Long fileSize, String fileExtName) throws IOException;
//
// /**
// * 上传文件
// *
// * @param bytes
// * @param fileExtName
// * @return
// * @throws IOException
// */
// String uploadFile(byte[] bytes, String fileExtName) throws IOException;
//
// /**
// * 文件上传, 下载url 再传
// *
// * @param url
// * @param fileExtName
// * @return
// * @throws IOException
// */
// String uploadFile(String url, String fileExtName) throws IOException;
//
//
// /**
// * 上传文件 base64
// *
// * @param base64String
// * @param fileExtName
// * @return
// * @throws IOException
// */
// String uploadFileOfBase64String(String base64String, String fileExtName) throws IOException;
//
// /**
// * 下载文件
// *
// * @param path
// * @return
// * @throws IOException
// */
// byte[] downloadFile(String path) throws IOException;
//
// /**
// * 转成一个临时可用的url
// *
// * @param path
// * @return
// * @throws IOException
// */
// String toUrl(String path) throws IOException;
//}
......@@ -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.vcc.QueryPreOfflineRepayVo;
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.IVccService;
import cn.quantgroup.customer.service.ftp.IFtpService;
......@@ -62,8 +62,8 @@ public class VccServiceImpl implements IVccService {
private OfflineRepayOperateRecordRepo offlineRepayOperateRecordRepo;
@Autowired
private IOpSystemService IOpSystemService;
@Autowired
private IFastDFSService fastDfsService;
// @Autowired
// private IFastDFSService fastDfsService;
@Autowired
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