...
|
...
|
@@ -7,6 +7,7 @@ use app\common\model\User; |
|
|
use fast\Random;
|
|
|
use think\Db;
|
|
|
use think\exception\PDOException;
|
|
|
use think\Log;
|
|
|
|
|
|
/**
|
|
|
* 第三方登录服务类
|
...
|
...
|
@@ -69,6 +70,7 @@ class Service |
|
|
if (isset($params['userinfo']['avatar'])) {
|
|
|
$fields['avatar'] = htmlspecialchars(strip_tags($params['userinfo']['avatar']));
|
|
|
}
|
|
|
Log::write(json_encode($fields,JSON_UNESCAPED_UNICODE),'notice');
|
|
|
|
|
|
// 更新会员资料
|
|
|
$user = User::get($user->id);
|
...
|
...
|
|