Commit e43010b1 authored by zhuwei's avatar zhuwei

bug

parent 549726b3
...@@ -447,10 +447,13 @@ class UserService ...@@ -447,10 +447,13 @@ class UserService
if(!$open_id){ if(!$open_id){
return false; return false;
} }
dump($open_id);
$param['wx_open_id'] = $open_id; $param['wx_open_id'] = $open_id;
$fields='a.user_phone'; $fields='a.user_phone';
$result = $this->user->getUserInfoByOpenId($param, $fields); $result = $this->user->getUserInfoByOpenId($param, $fields);
Log::write($result, '18112347151'); //记录日志 dump($result);
Log::write($result, 'isUserByweiXin'); //记录日志
if ($result) { if ($result) {
return true; return true;
......
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