Yii2.0:某地区七天温度变化图(最高温/最低温)
后台:
public function actionIndex()
{
return $this->render(‘index’);
}
public function actionSel()
{
$city=$_POST['city'];
$data=file_get_contents("http://api.k780.com/?app=weather.future&...
原创
2019-07-05 21:36:24 ·
185 阅读 ·
1 评论