@Component public class QiNiuStoreTemplate extends Object implements StoreTemplate
| 构造器和说明 |
|---|
QiNiuStoreTemplate() |
private static final org.slf4j.Logger LOGGER
private QiNiuInfo qiNiuInfo
public String upload(File uploadFile, String fileName) throws IOException
StoreTemplateupload 在接口中 StoreTemplateuploadFile - the upload filefileName - file nameIOException - exceptionpublic String upload(byte[] bytes, String fileName) throws IOException
upload 在接口中 StoreTemplatebytes - the file bytesfileName - file nameIOException - exceptionCopyright © 2016. All rights reserved.