Commit 954289c3 authored by 郭勇志's avatar 郭勇志

request组件配置

parent c9a53768
...@@ -15,6 +15,9 @@ return [ ...@@ -15,6 +15,9 @@ return [
'components' => [ 'components' => [
'request' => [ 'request' => [
'csrfParam' => '_csrf-backend', 'csrfParam' => '_csrf-backend',
'parsers' => [
'application/json' => 'yii\web\JsonParser',
]
], ],
'user' => [ 'user' => [
'identityClass' => 'app\models\v1\user\ShopRbacUser', 'identityClass' => 'app\models\v1\user\ShopRbacUser',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment