Przeglądaj źródła

修复请求mer/getPhpToken?3269报错问题,真厉害的传值

sunxbiao 6 miesięcy temu
rodzic
commit
d93d4be646
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/middleware/SecurityMiddleware.php

+ 1 - 1
app/middleware/SecurityMiddleware.php

@@ -94,7 +94,7 @@ class SecurityMiddleware
94 94
     /**
95 95
      * 检测攻击
96 96
      */
97
-    protected function detectAttack($value, string $key = ''): bool
97
+    protected function detectAttack($value, $key): bool
98 98
     {
99 99
         if (!is_string($value)) {
100 100
             return false;