Skip to content

Commit

Permalink
fix: 查询在线人数错误时没有返回status
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Feb 1, 2024
1 parent 29aa4c1 commit 18f1daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/http/video.dart
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ class VideoHttp {
});
if (res.data['code'] == 0) {
return {'status': true, 'data': res.data['data']};
} else {
return {'status': false, 'data': null, 'msg': res.data['message']};
}
}

Expand Down

0 comments on commit 18f1daf

Please sign in to comment.