优化
This commit is contained in:
@@ -141,14 +141,12 @@ class PathRepositoryImpl implements PathRepository {
|
||||
).replace(
|
||||
queryParameters: {'workName': workName, '_t': timestamp.toString()},
|
||||
);
|
||||
print('请求URL: $url');
|
||||
|
||||
try {
|
||||
final response = await http.get(url);
|
||||
|
||||
if (response.statusCode == 200) {
|
||||
final data = jsonDecode(response.body) as Map<String, dynamic>;
|
||||
print('响应数据: $data');
|
||||
|
||||
if (data['code'] == 200 && data.containsKey('data')) {
|
||||
final dynamic rawData = data['data'];
|
||||
|
||||
Reference in New Issue
Block a user