change proxy setting

This commit is contained in:
微凉
2021-11-17 17:20:57 +08:00
parent 0b7f2fee7d
commit 3d9746485d
8 changed files with 202 additions and 151 deletions

View File

@ -43,6 +43,7 @@ func (n Native) Save(account *model.Account, old *model.Account) error {
return fmt.Errorf("[%s] not exist", account.RootFolder)
}
account.Status = "work"
account.Proxy = true
err := model.SaveAccount(account)
if err != nil {
return err