Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
🐛 修复了历史游玩记录查询失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dzxrly committed Jan 31, 2024
1 parent ddc6caf commit c450ac1
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 240 deletions.
4 changes: 2 additions & 2 deletions lib/api/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ class PostPlayerFeslidAPI extends APIBase {
}

class BFPlayInfoAPI extends APIBase {
Future<BFPlayInfo> fetchBFPlayInfo(String playerId) async {
final String url = '$gametoolsBaseAPI/bfglobal/games/?playerid=$playerId';
Future<BFPlayInfo> fetchBFPlayInfo(String name) async {
final String url = '$gametoolsBaseAPI/bfglobal/games/?name=$name';
try {
final response = await http.get(Uri.parse(url)).timeout(timeout);

Expand Down
Loading

0 comments on commit c450ac1

Please sign in to comment.