去掉get_client_ip调用

This commit is contained in:
thinkphp
2015-12-22 08:05:34 +08:00
parent 247b76d9c0
commit 0e6afef0be
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class Tencent extends Driver
'oauth_consumer_key' => $this->AppKey,
'access_token' => $this->token['access_token'],
'openid' => $this->openid(),
'clientip' => get_client_ip(),
'clientip' => $_SERVER['REMOTE_ADDR'],
'oauth_version' => '2.a',
'scope' => 'all',
'format' => 'json',