作者 WangXuebo

授权登录

... ... @@ -30,9 +30,9 @@ class User extends Api
public function getCode()
{
// $redirect_uri=$this->request->param('redirect_uri');
$redirect_uri = urlencode('http://repairh5.n.broing.cn');//重定向地址
$redirect_uri = urlencode('http://repairsh5.n.broing.cn');//重定向地址
$uri = $this->combineURL(self::GET_CODE, [
'appid' => 'wx239e35047fe80913',
'appid' => 'wx2a7905afabd3899e',
'scope' => 'snsapi_userinfo',
'response_type' => 'code',
'redirect_uri' => $redirect_uri,
... ...