Class FileStoreQnServiceImpl
java.lang.Object
cn.sinozg.applet.oss.service.impl.FileStoreBaseService<QnClient>
cn.sinozg.applet.oss.service.impl.FileStoreQnServiceImpl
- All Implemented Interfaces:
FileStoreService<QnClient>
- Since:
- 2025-07-20 21:41
- Author:
- xieyubin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cn.sinozg.applet.oss.service.impl.FileStoreBaseService
client, createPreSignedUrl, deleteFiles, download, fileExtension, largeBucket, preSignedBaseUrl, setClient, signedExp, uploadOss
-
Field Details
-
qnClient
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
FileStoreQnServiceImpl
-
-
Method Details
-
upload
- Specified by:
uploadin classFileStoreBaseService<QnClient>- Throws:
Exception
-
deletes
- Specified by:
deletesin classFileStoreBaseService<QnClient>- Throws:
Exception
-
preSignedUrl
七牛的是拿到token。无法拿到连接- Specified by:
preSignedUrlin classFileStoreBaseService<QnClient>- Parameters:
key- keyupload- 是否上传- Returns:
- token 或地址
- Throws:
Exception- 异常
-
download
- Specified by:
downloadin classFileStoreBaseService<QnClient>- Throws:
Exception
-