refactor(baidu_photo): optimize code (close #2911 pr #2924)

This commit is contained in:
foxxorcat
2023-01-06 15:36:05 +08:00
committed by GitHub
parent 4a0e47dbac
commit a1ded3a339
6 changed files with 303 additions and 235 deletions

View File

@ -14,10 +14,6 @@ type Addition struct {
ClientSecret string `json:"client_secret" required:"true" default:"jXiFMOPVPCWlO2M5CwWQzffpNPaGTRBG"`
}
func (a Addition) GetRootId() string {
return a.AlbumID
}
var config = driver.Config{
Name: "BaiduPhoto",
LocalSort: true,