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', //这里配置秘钥字符串就不会报错了
]
]