Browse Source

get_openid

master
用户名 3 years ago
parent
commit
8f30d5bc9f
  1. 2
      mobile/get_openid.php

2
mobile/get_openid.php

@ -4,7 +4,7 @@
// 设置应用信息 // 设置应用信息
$appid = 'wx79343915f99167e6'; $appid = 'wx79343915f99167e6';
$appsecret = 'f2f72c5e0ac29c2373bfaf22cf059c02'; $appsecret = 'f2f72c5e0ac29c2373bfaf22cf059c02';
$redirect_uri = 'https://shop.heavenk.com/mobile/testsc2.php'; // 回调URL $redirect_uri = 'https://shop.heavenk.com/mobile/get_openid.php'; // 回调URL
// 构造授权链接 // 构造授权链接
$auth_url = 'https://open.weixin.qq.com/connect/oauth2/authorize' $auth_url = 'https://open.weixin.qq.com/connect/oauth2/authorize'

Loading…
Cancel
Save