Commit 4c2eca16 authored by 刘小敏's avatar 刘小敏

profile增加小程序Id

parent 0295ea54
...@@ -67,7 +67,7 @@ class User extends Common ...@@ -67,7 +67,7 @@ class User extends Common
if ($provider !== '') { if ($provider !== '') {
$where['provider'] = $provider; $where['provider'] = $provider;
} }
$oauth = ThirdOauth::where($where)->field('nickname, avatar, platform, provider')->find(); $oauth = ThirdOauth::where($where)->field('nickname, avatar, platform, provider, openid, unionid')->find();
$this->success('', $oauth); $this->success('', $oauth);
} }
......
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