Explorar el Código

增加签名错误日志

songdb hace 4 años
padre
commit
963354d8a1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Middleware/CheckSign.php

+ 1 - 0
app/Http/Middleware/CheckSign.php

@@ -23,6 +23,7 @@ class CheckSign
         if ($timestamp && time() - $timestamp <= (SysConsts::ONE_HOUR_SECONDS * 10) && $sign == _sign($params, $key)) {
             return $next($request);
         } else {
+            myLog('sign_error')->error($request->all());
             return response()->error('QAPP_SIGN_ERROR');
         }
     }