Test: new changes pkg filesystem

This commit is contained in:
HFO4
2022-03-30 20:38:02 +08:00
parent 1c0a735df8
commit d117080991
10 changed files with 385 additions and 302 deletions

View File

@@ -156,7 +156,7 @@ func (handler *Driver) Put(ctx context.Context, file fsctx.FileHeader) error {
defer file.Close()
// 凭证有效期
credentialTTL := model.GetIntSetting("upload_credential_timeout", 3600)
credentialTTL := model.GetIntSetting("upload_session_timeout", 3600)
// 生成上传策略
fileInfo := file.Info()