|
@@ -65,7 +65,7 @@ class Timedtask
|
|
|
$weather = json_decode($result,true);
|
|
|
if ($weather['error_code']==0){
|
|
|
$this_day_weather = $weather['result']['future'][0]['weather'];
|
|
|
- Db::name('system_day')->where('id',$info['id'])->update(['weather'=>$this_day_weather]);
|
|
|
+ Db::name('system_day')->where('id',$info['id'])->update(['weather_json'=>$result,'weather'=>$this_day_weather]);
|
|
|
}
|
|
|
}
|
|
|
}
|