Commit d552ea0ab83e907c1603992c0784042777a11d03

Authored by 程雨佳
1 parent fb64c387

提交验证文件

Showing 1 changed file with 1 additions and 2 deletions
phpapi/AdminAuth.php
... ... @@ -8,8 +8,7 @@
8 8 header("Access-Control-Allow-Headers:Content-Type,token,X-Requested-With");
9 9 if(strtoupper($_SERVER['REQUEST_METHOD'])== 'OPTIONS'){
10 10 exit;
11   - }
12   - print_r($_SERVER);exit;
  11 + }
13 12 if (!isset($_SERVER['HTTP_TOKEN'])) {
14 13 JsonResponse::error('未登录:token验证失败');
15 14 }
... ...