Test: get filesystem from callback context

This commit is contained in:
HFO4
2020-01-22 14:41:12 +08:00
parent 8672042d61
commit 588514b4e0
3 changed files with 125 additions and 1 deletions

View File

@@ -212,7 +212,6 @@ func (policy *Policy) GetUploadURL() string {
}
// UpdateAccessKey 更新 AccessKey
// TODO 测试
func (policy *Policy) UpdateAccessKey(key string) error {
policy.AccessKey = key
err := DB.Save(policy).Error