Skip to content

绕开企业微信可信域名,授权域名只能填写一个

Notifications You must be signed in to change notification settings

lizhenjian/get-qy-wechat-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

get-qy-wechat-code

绕开企业微信可信域名,授权域名只能填写一个

使用样例 将html文件放置到可信域名可访问目录

$redirectUrl =  urlencode('http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"]);
$Url = 'http://XXX.com/get-code.html?appid=appid&redirect_uri='.$redirectUrl.'&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect';
redirect($Url);

About

绕开企业微信可信域名,授权域名只能填写一个

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages