...
|
...
|
@@ -25,10 +25,10 @@ class IndexController extends CommentController |
|
|
public function index()
|
|
|
{
|
|
|
// 判断是否是首次进入
|
|
|
$acctoken = $this->getAccessToken();
|
|
|
$url = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=".$acctoken."&next_openid=";
|
|
|
$isFollowContent = file_get_contents($url);
|
|
|
$json = json_decode($isFollowContent);
|
|
|
// $acctoken = $this->getAccessToken();
|
|
|
// $url = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=".$acctoken."&next_openid=";
|
|
|
// $isFollowContent = file_get_contents($url);
|
|
|
// $json = json_decode($isFollowContent);
|
|
|
|
|
|
|
|
|
$where_member['id'] = Session::get('uid');
|
...
|
...
|
|