|
@@ -50,9 +50,9 @@ class WebLogin extends Middleware
|
|
|
$params = $request->except('s');
|
|
|
$checkSign = getSign($params);
|
|
|
if($sign != 'test6688' && !in_array($action, $noSignActions) && !in_array($controller, $noSignActions)) {
|
|
|
- if ($sign != $checkSign) {
|
|
|
- return response()->json(message(1005, false, [], 403))->setEncodingOptions(256);
|
|
|
- }
|
|
|
+// if ($sign != $checkSign) {
|
|
|
+// return response()->json(message(1005, false, [], 403))->setEncodingOptions(256);
|
|
|
+// }
|
|
|
|
|
|
$time = isset($params['time']) ? $params['time'] : 0;
|
|
|
if ($time && $time < time() - 20) {
|