yii\web\Request::cookieValidationKey must be configured with a secret key.时间:2022-08-02 08:52:01yii\web\Request::cookieValidationKey must be configured with a secret key. 出现的错误表示没有设置 cookieValidationKey 解决方法: 打开 basic\config\web.php 设置代码如下