🎇 execute save while delete account

This commit is contained in:
微凉
2022-01-15 19:36:37 +08:00
parent 21ca2f11b7
commit 2473309a51
17 changed files with 60 additions and 6 deletions

View File

@ -79,6 +79,9 @@ func (driver S3) Items() []base.Item {
}
func (driver S3) Save(account *model.Account, old *model.Account) error {
if account == nil {
return nil
}
if account.Limit == 0 {
account.Limit = 4
}