Skip to content

Commit

Permalink
🐛 fix 139Yun no user error
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 13, 2022
1 parent c9bc822 commit 6f7465a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/139/139.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (driver Cloud139) GetLink(contentId string, account *model.Account) (string
"appName": "",
"contentID": contentId,
"commonAccountInfo": base.Json{
"account": "18627147660",
"account": account.Username,
"accountType": 1,
},
}
Expand Down
7 changes: 6 additions & 1 deletion drivers/139/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ func (driver Cloud139) Link(args base.Args, account *model.Account) (*base.Link,
if err != nil {
return nil, err
}
u, err := driver.GetLink(file.Id, account)
var u string
//if isFamily(account) {
// u, err = driver.familyLink(file.Id, account)
//} else {
u, err = driver.GetLink(file.Id, account)
//}
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6f7465a

Please sign in to comment.