🎇 feat: pikpak support

This commit is contained in:
微凉
2021-12-16 22:50:23 +08:00
parent 1c65588b4a
commit c64c003257
8 changed files with 433 additions and 0 deletions

View File

@ -106,4 +106,5 @@ func init() {
}),
)
NoRedirectClient.SetHeader("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36")
RestyClient.SetHeader("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36")
}

View File

@ -19,6 +19,14 @@ const (
TypeNumber = "number"
)
const (
Get = iota
Post
Put
Delete
Patch
)
type Json map[string]interface{}
type TokenResp struct {