Commit 56b9c647 by 冷斌

fix bug

parent 78ed4c20
...@@ -28,7 +28,8 @@ class RegController extends HomebaseController { ...@@ -28,7 +28,8 @@ class RegController extends HomebaseController {
$configpri=getConfigPri(); $configpri=getConfigPri();
$AppID = 'wx31ac4d2b862fa9c0'; //$configpri['login_wx_appid']; $AppID = 'wx31ac4d2b862fa9c0'; //$configpri['login_wx_appid'];
$callback = get_upload_path('/Appapi/Reg/wxLoginCallback?agentid='.$agentid); //回调地址 //http://www.seals-live.com/index.php?g=Appapi&m=Reg&a=index&agentid=787JMY
$callback = get_upload_path('index.php?g=Appapi&m=Reg&a=wxLoginCallback&agentid='.$agentid); //回调地址
//微信登录 //微信登录
session_start(); session_start();
//-------生成唯一随机串防CSRF攻击 //-------生成唯一随机串防CSRF攻击
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment