Browse Source

auth busg

zz 6 years ago
parent
commit
c37d4362fa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Middleware/ReadOauth.php

+ 2 - 2
app/Http/Middleware/ReadOauth.php

@@ -1128,9 +1128,9 @@ class ReadOauth
         } else {
             $ip = get_client_ip();
         }
-        $params['id'] = $ip;
+        $params['ip'] = $ip;
         $url = str_replace('http://', $h5_scheme . '://', url()->current() . '?' . http_build_query($params));
-        unset($params['id']);
+        unset($params['ip']);
         $params['redirect_url'] = urlencode($url);
         $params['timestamp'] = time();
         $params['channel_id'] = $distribution_channel_id;