public function beforeAction($action)
{
$this->enableCsrfValidation = false;
return parent::beforeAction($action);
}
yii2 ajax的post提交出现的400错误
最新推荐文章于 2021-03-24 19:23:54 发布
public function beforeAction($action)
{
$this->enableCsrfValidation = false;
return parent::beforeAction($action);
}