@Service public class SysFileStorageServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysFileStorageMapper,SysFileStorage> implements SysFileStorageService
| 构造器和说明 |
|---|
SysFileStorageServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFileAuthUrl(String fileId)
获取文件的访问url
|
String |
getFileUnAuthUrl(String fileId)
获取文件不带鉴权的访问url
|
void |
saveFile(Long fileId,
byte[] bytes)
将文件存储在库中
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdpublic void saveFile(Long fileId, byte[] bytes)
SysFileStorageServicesaveFile 在接口中 SysFileStorageServicepublic String getFileAuthUrl(String fileId)
SysFileStorageServicegetFileAuthUrl 在接口中 SysFileStorageServicefileId - 文件idpublic String getFileUnAuthUrl(String fileId)
SysFileStorageServicegetFileUnAuthUrl 在接口中 SysFileStorageServicefileId - 文件idCopyright © 2024. All rights reserved.