From db25e248d4e082934a20abe9f7061a9a4f10318e Mon Sep 17 00:00:00 2001 From: laiiihz Date: Fri, 9 Apr 2021 13:21:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BD=A9=E4=BA=91API=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/provider/app_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/provider/app_provider.dart b/lib/provider/app_provider.dart index d3b94056..f6a71395 100644 --- a/lib/provider/app_provider.dart +++ b/lib/provider/app_provider.dart @@ -160,7 +160,7 @@ class AppProvider extends ChangeNotifier { // Location get location => _location; getWeather() async { Response response = await Dio().get( - 'https://api.caiyunapp.com/v2.5/Rl2lmppO9q15q8W6/${_location['longitude']},${_location['latitude']}/realtime.json', + 'https://api.caiyunapp.com/v2.5/YETFbiaWktYHfCQE/${_location['longitude']},${_location['latitude']}/realtime.json', ); LoggerData.addData(response); _weatherModel = RealTimeWeatherModel.fromJson(response.data);