Commit b221dba8 authored by zhuwei's avatar zhuwei

log

parent d3bbb4af
......@@ -43,6 +43,7 @@ class ShareShop extends Basic
$this->_wxApi->getWxCode($this->url.'?'.http_build_query($params));
} else {
$userInfo = $this->_wxApi->getUserInfoByAccessToken($code);
Log::write($userInfo, 'WxCallbackUntils'); //记录日志
//dump($userInfo);exit;
if (!$userInfo['wx_open_id']) {
$this->_wxApi->getWxCode($this->url.'?'.http_build_query($params));
......@@ -73,7 +74,6 @@ class ShareShop extends Basic
}
}
Log::record("zhuweizhuwei----".json_encode($params),"info");
$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