From 295d135b5eaf7639170c3e6c8c235ee94fd06fc6 Mon Sep 17 00:00:00 2001 From: Zhao <756958008@qq.com> Date: Tue, 16 Apr 2019 14:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20apiAdmin.php=20=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E8=B7=A8=E5=9F=9F=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/extra/apiAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/extra/apiAdmin.php b/application/extra/apiAdmin.php index 5d27cac..a50f612 100644 --- a/application/extra/apiAdmin.php +++ b/application/extra/apiAdmin.php @@ -29,7 +29,7 @@ return [ 'CROSS_DOMAIN' => [ 'Access-Control-Allow-Origin' => '*', 'Access-Control-Allow-Methods' => 'POST,PUT,GET,DELETE', - 'Access-Control-Allow-Headers' => 'ApiAuth, User-Agent, Keep-Alive, Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With', + 'Access-Control-Allow-Headers' => 'version, access-token, user-token, ApiAuth, User-Agent, Keep-Alive, Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With', 'Access-Control-Allow-Credentials' => 'true' ],