'user' => [
'identityClass' => 'common\models\User',
'loginUrl' => '/user/index/index',
],
'usert' => [
'identityClass' => 'common\models\UserTwo',
'loginUrl' => '/usert/index/index',
],
报了错 The configuration for the “usert” component must contain a “class” element.
这样设置该怎么办?
‘user’ => [
’class’ => ‘yii\web\User’,
‘user’ => [
],
‘usert’ => [
’class’ => ‘yii\web\User’,
],
啊啊啊,你老婆是不是叫刘瑞啊!