Skip to content

Commit

Permalink
Update WeatherFragment.java
Browse files Browse the repository at this point in the history
修改天气接口地址
  • Loading branch information
linchupeng authored Aug 10, 2017
1 parent 32c3830 commit ab827fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private void showWeatherInfo(Weather weather) {
*/
public void requestWeather( String weatherId) {

String weatherUrl = "https://api.heweather.com/v5/weather?city="+weatherId+"&key=342a3bf415f84fc7ba09cf90e66fcee1";
String weatherUrl = "https://free-api.heweather.com/v5/weather?city="+weatherId+"&key=342a3bf415f84fc7ba09cf90e66fcee1";
Log.i("天气详情", weatherUrl);
HttpUtil.sendOkHttpRequest(weatherUrl, new Callback() {
@Override
Expand Down

0 comments on commit ab827fc

Please sign in to comment.