|
|
@ -130,7 +130,7 @@ abstract class ApiService { |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (map["code"] != 0 && response.request.baseUrl == baseUrl) { |
|
|
|
} else if (map["code"] != 0 && response.request.baseUrl == baseUrl) { |
|
|
|
///高德地图的poi服务请求不需要toast |
|
|
|
///高德地图的poi服务请求不需要toast |
|
|
|
SmartDialog.showToast(map["msg"], alignment: Alignment.center); |
|
|
|
// SmartDialog.showToast(map["msg"], alignment: Alignment.center); |
|
|
|
} |
|
|
|
} |
|
|
|
debugPrint("======================= 响应数据结束 =======================\n"); |
|
|
|
debugPrint("======================= 响应数据结束 =======================\n"); |
|
|
|
}, onError: (DioError e) { |
|
|
|
}, onError: (DioError e) { |
|
|
|