Commit 99ffa5bc authored by zw's avatar zw

Merge branch 'test'

parents 2fc08357 94d5154d
......@@ -44,6 +44,7 @@ class ShareShop extends Basic
$this->_wxApi->getWxCode($this->url.'?'.http_build_query($params));
} else {
$userInfo = $this->_wxApi->getUserInfoByAccessToken($code);
Log::write(json_encode($userInfo), 'shareShop'); //记录日志
//dump($userInfo);exit;
if (!$userInfo['wx_open_id']) {
......@@ -75,6 +76,7 @@ class ShareShop extends Basic
}
}
Log::write(json_encode($params), 'shareShop'); //记录日志
$this->assign('data',json_encode($params));
return view("share_detail");
......
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