fix(189): adapt new login method (close #4378)

This commit is contained in:
Andy Hsu
2023-05-13 17:26:32 +08:00
parent 5be79eb26e
commit 077a525961
4 changed files with 242 additions and 117 deletions

View File

@ -8,6 +8,7 @@ import (
type Addition struct {
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
Cookie string `json:"cookie" help:"Fill in the cookie if need captcha"`
driver.RootID
}
@ -15,6 +16,7 @@ var config = driver.Config{
Name: "189Cloud",
LocalSort: true,
DefaultRoot: "-11",
Alert: `info|You can try to use 189PC driver if this driver does not work.`,
}
func init() {