🔨 refactor driver: onedrive

This commit is contained in:
微凉
2021-11-27 20:20:14 +08:00
parent e76fc3e616
commit 53b383d2cf
6 changed files with 385 additions and 360 deletions

View File

@ -76,11 +76,6 @@ type Cloud189Down struct {
FileDownloadUrl string `json:"fileDownloadUrl"`
}
func init() {
drivers.RegisterDriver("189Cloud", &Cloud189{})
client189Map = make(map[string]*resty.Client, 0)
}
type LoginResp struct {
Msg string `json:"msg"`
Result int `json:"result"`
@ -316,3 +311,8 @@ func b64tohex(a string) string {
}
return d
}
func init() {
drivers.RegisterDriver(driverName, &Cloud189{})
client189Map = make(map[string]*resty.Client, 0)
}