yii2.0 報錯Cookievalidationkey Must Be Configured With A Secret Key

'components' => [    'request' => [        // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation        'cookieValidationKey' => 'test',  //這裏配置祕鑰字符串就不會報錯了    ]]
相關文章
相關標籤/搜索