lidonghe 2015-12-27 15:02:14 2292次浏览 1条回复 0 0 0
if($model->load(Yii::$app->request->post()) && $model->validate()){
    var_dump(Yii::$app->request->post());
}else{
    return $this->render('index',['model'=>$model]);
    //var_dump($data['model']);
}
您需要登录后才可以回复。登录 | 立即注册