support onedrive

This commit is contained in:
微凉
2021-11-02 23:53:05 +08:00
parent 510292c8b0
commit 04e89754f7
4 changed files with 357 additions and 30 deletions

View File

@ -22,6 +22,13 @@ type Account struct {
Proxy bool `json:"proxy"`
UpdatedAt *time.Time `json:"updated_at"`
Search bool `json:"search"`
ClientId string `json:"client_id"`
ClientSecret string `json:"client_secret"`
Zone string `json:"zone"`
RedirectUri string `json:"redirect_uri"`
SiteUrl string `json:"site_url"`
SiteId string
OnedriveType string `json:"onedrive_type"`
}
var accountsMap = map[string]Account{}