We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5118709 commit 3444d55Copy full SHA for 3444d55
chapter14/CoolWeather/app/src/main/java/com/coolweather/android/WeatherActivity.java
@@ -129,7 +129,7 @@ public void onClick(View v) {
129
* 根据天气id请求城市天气信息。
130
*/
131
public void requestWeather(final String weatherId) {
132
- String weatherUrl = "https://api.heweather.com/x3/weather?cityid=" + weatherId + "&key=bc0418b57b2d4918819d3974ac1285d9";
+ String weatherUrl = "http://guolin.tech/api/weather?cityid=" + weatherId + "&key=bc0418b57b2d4918819d3974ac1285d9";
133
HttpUtil.sendOkHttpRequest(weatherUrl, new Callback() {
134
@Override
135
public void onResponse(Call call, Response response) throws IOException {
0 commit comments