摘要:
——controller public $defaultAction = "income"; public function actionIncome(){ $model = new StatsSpace; $model->user_id = Yii::app()->user->id; //日期 $idate = isset($_POST['Income']['idate']) ? $_POST['Income']['idate'] : ""; if(!$idate){ $ 阅读全文