Skip to content

Commit c8e47e9

Browse files
committed
[bug] 修复定位失败问题
Signed-off-by: xiaweizi <1012126908@qq.com>
1 parent f20db80 commit c8e47e9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ Fluter 为什么目前这么火热,以及开发的效率如此之高,除了
126126

127127
#### 2.3.0
128128

129+
- 更新背景动画依赖
130+
- 修复定位失败&搜索失败&添加城市失败问题
131+
132+
#### 2.3.0
133+
129134
- 新增晴晚效果
130135
- 新增流星效果
131136

lib/net/net_manager.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import 'package:flutter_dynamic_weather/net/code.dart';
33
import 'package:flutter_dynamic_weather/net/rep_result.dart';
44
import 'package:flutter_dynamic_weather/net/response_interceptor.dart';
55
const String weatherBaseUrl = "https://api.caiyunapp.com/v2.5/sas9gfwyRX2NVehl/";
6-
const String cityBaseUrl = "https://restapi.amap.com/v3/config/district?subdistrict=1&key=ac9de7774d497989173a1b16dc0290ae&keywords=";
7-
const String geoBaseUrl = "https://restapi.amap.com/v3/geocode/regeo?key=ac9de7774d497989173a1b16dc0290ae&location=";
6+
const String cityBaseUrl = "https://restapi.amap.com/v3/config/district?subdistrict=1&key=请使用自己的key&keywords=";
7+
const String geoBaseUrl = "https://restapi.amap.com/v3/geocode/regeo?key=请使用自己的key&location=";
88
const String otaBaseUrl = "http://xiaweizi.online/config/ota/";
99
const int _kReceiveTimeout = 15000;
1010
const int _kSendTimeout = 15000;

0 commit comments

Comments
 (0)