Skip to content

Commit

Permalink
修复登录成功后, 无法正常使用的问题
Browse files Browse the repository at this point in the history
See #399
  • Loading branch information
iikira committed Sep 22, 2018
1 parent 7c1ca78 commit 82a3979
Show file tree
Hide file tree
Showing 45 changed files with 434 additions and 134 deletions.
82 changes: 66 additions & 16 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

This project was largely inspired by [GangZhuo/BaiduPCS](https://github.com/GangZhuo/BaiduPCS)

## 解决错误代码4, No permission to do this operation
```
BaiduPCS-Go config set -appid 266719
```

详见讨论 #387

## 注意

此文档只针对于最新的commit, 可能不适用于已发布的最新版本.
Expand Down
2 changes: 1 addition & 1 deletion internal/pcsconfig/baidu.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func NewUserInfoByBDUSS(bduss string) (b *Baidu, err error) {
},
Sex: t.Baidu.Sex,
Age: t.Baidu.Age,
BDUSS: t.Baidu.Auth.BDUSS,
BDUSS: bduss,
Workdir: "/",
}
return b, nil
Expand Down
7 changes: 4 additions & 3 deletions vendor/github.com/iikira/baidu-tools/tieba/bar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions vendor/github.com/iikira/baidu-tools/tieba/tieba_login.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/github.com/json-iterator/go/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/json-iterator/go/Gopkg.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/json-iterator/go/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions vendor/github.com/json-iterator/go/adapter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 82a3979

Please sign in to comment.