Commit 931b4b8e authored by clone's avatar clone

bug

parent 4736bd68
...@@ -13,7 +13,7 @@ use think\Response; ...@@ -13,7 +13,7 @@ use think\Response;
class Index class Index
{ {
private $url = CURRENT_URL . "/index/getWxInfo"; private $url = CURRENT_URL . "/app_broker/index";
private $_wxApi; private $_wxApi;
public function __construct() public function __construct()
...@@ -21,7 +21,7 @@ class Index ...@@ -21,7 +21,7 @@ class Index
$this->_wxApi = new WxCallbackUntils(); $this->_wxApi = new WxCallbackUntils();
} }
public function getWxInfo() public function index()
{ {
$code = empty($_GET['code']) ? null : $_GET['code']; $code = empty($_GET['code']) ? null : $_GET['code'];
...@@ -147,15 +147,12 @@ class Index ...@@ -147,15 +147,12 @@ class Index
{ {
return view('index/download_b'); return view('index/download_b');
} }
public function __construct()
{
}
public function index()
/* public function index()
{ {
return view('index/index'); return view('index/index');
} }*/
} }
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