Commit 91cd97f3 authored by 章建武's avatar 章建武

dep

parent ddbb037e
...@@ -16,7 +16,7 @@ class WxAuthorizeController extends Controller ...@@ -16,7 +16,7 @@ class WxAuthorizeController extends Controller
{ {
session_start(); session_start();
// 授权成功后回到前端的地址 // 授权成功后回到前端的地址
$front_url = urlencode(trim('http://mallapp.guoguodz.com/h5_pic/appwww/index.php')); $front_url = urlencode(trim('http://mallapp.guoguodz.com/test_h5/appwww/index.php'));
if (!$this->checkFrontUrl($front_url)) $this->error('url参数不正确'); if (!$this->checkFrontUrl($front_url)) $this->error('url参数不正确');
// 获取code后返回的地址 // 获取code后返回的地址
...@@ -31,7 +31,7 @@ class WxAuthorizeController extends Controller ...@@ -31,7 +31,7 @@ class WxAuthorizeController extends Controller
public function getUserInfo() public function getUserInfo()
{ {
session_start(); session_start();
$front_url = 'http://mallapp.guoguodz.com/h5_pic/appwww/index.php'; $front_url = 'http://mallapp.guoguodz.com/test_h5/appwww/index.php';
$code = trim(I('get.code', '')); $code = trim(I('get.code', ''));
if (empty($code)) $this->error('code参数错误'); if (empty($code)) $this->error('code参数错误');
......
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