Skip to content

Commit

Permalink
fix: 读取uid出错 (#369)
Browse files Browse the repository at this point in the history
Fixed #369
  • Loading branch information
shanmiteko committed Apr 11, 2024
1 parent 7e4650c commit 5b33ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/net/bili.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@ const bili_client = {
{ card } = data || {};
switch (code) {
case 0:
if (card) {
if (card && responseText.length > 100) {
return [false, card, `ok`];
} else {
return [false, undefined, `动态不存在`];
return [false, undefined, `获取动态数据异常:\n${responseText}`];
}
case 500207:
return [false, undefined, `该动态为包月充电专属可以给UP主充电后观看`];
Expand Down

0 comments on commit 5b33ae3

Please sign in to comment.