1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

创建预授权URL后端日志记录

This commit is contained in:
2022-04-08 18:44:32 +08:00
parent 2df583ab61
commit b4d7f858a3
11 changed files with 220 additions and 120 deletions

View File

@@ -0,0 +1,17 @@
package plus.bookshelf.Service.Service;
import plus.bookshelf.Common.Error.BusinessException;
public interface CosPresignedUrlGenerateLogService {
/**
* 记录cos获取的预授权url日志
*
* @param userId 用户id
* @param expireTime 过期时间(分钟)
* @param method 请求方法
* @param filePath 文件路径
* @param urlGuid url唯一标识
* @return
*/
void log(Integer userId, Integer expireTime, String method, String filePath, String urlGuid) throws BusinessException;
}