...
|
...
|
@@ -62,6 +62,7 @@ class Login extends BaseApi |
|
|
'userinfo' => $this->auth->getUserinfo(),
|
|
|
'thirdinfo' => $result,
|
|
|
];
|
|
|
dd($data);
|
|
|
dd($this->auth->avatar);
|
|
|
if ($this->auth->avatar != '' && !in_array(substr($this->auth->avatar,-4),explode(',','jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx'))){
|
|
|
$content = file_get_contents($this->auth->avatar);
|
...
|
...
|
|