Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
目前版本使用的两个 bilibili 的 open api (
api.bilibili.com/x/space/acc/info
,api.bilibili.com/x/space/arc/search
)无法正常使用,替换为使用api.bilibili.com/x/space/wbi/acc/info
和https://api.bilibili.com/x/space/wbi/arc/search
接口。该接口需要使用 wbi 验证,参考 文档 增加相应逻辑,因此引入了外部依赖
md5
。目前存在问题:
bilibili.bi_artist
执行结束后,调用success
中传入的回调无法正确使页面更新结束 loading 状态;重新返回再进入后,由于命中缓存所以能够避免 loading 状态直接同步设置数据,由于对 ng 不太熟悉,暂时无法排查出问题在哪儿。待优化项:目前 wbi 验证需要用户处于登录态才能跑通,同样由于对 ng 和 UI 逻辑不太熟悉,不太清楚应该如何加上未登录时的报错提醒。