事务里id和username这两个数据怎么调呀?
$model->user_id = Yii::$app->user->identity->id; $model->user_name = Yii::$app->user->identity->username;
页面里报错,这个id, username找不到
$model->user_id = Yii::$app->user->identity->id; $model->user_name = Yii::$app->user->identity->username;
页面里报错,这个id, username找不到
2016-11-13
举报