...
|
...
|
@@ -15,13 +15,13 @@ class IndexController extends WeChatBaseController |
|
|
//授权
|
|
|
function _initialize()
|
|
|
{
|
|
|
// //判断用户是否微信浏览器打开
|
|
|
// $this->isWechat();
|
|
|
// //微信授权
|
|
|
// parent::_initialize();
|
|
|
// $this->checkWeChatUserLogin();
|
|
|
// //阻止拉黑用户
|
|
|
// $this->ban();
|
|
|
//判断用户是否微信浏览器打开
|
|
|
$this->isWechat();
|
|
|
//微信授权
|
|
|
parent::_initialize();
|
|
|
$this->checkWeChatUserLogin();
|
|
|
//阻止拉黑用户
|
|
|
$this->ban();
|
|
|
}
|
|
|
public function index(){
|
|
|
|
...
|
...
|
|