Browse Source

增加签名错误日志

songdb 3 năm trước cách đây
mục cha
commit
963354d8a1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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');
         }
     }