Commit c0fa6bed authored by zhuwei's avatar zhuwei

log

parent e1607151
......@@ -44,7 +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), 'WxCallbackUntils'); //记录日志
Log::write(json_encode($userInfo), 'shareShop'); //记录日志
//dump($userInfo);exit;
if (!$userInfo['wx_open_id']) {
$this->_wxApi->getWxCode($this->url.'?'.http_build_query($params));
......@@ -74,7 +74,7 @@ class ShareShop extends Basic
}
}
Log::write(json_encode($params), 'WxCallbackUntils'); //记录日志
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