|
|
@@ -38,7 +38,7 @@ class User extends Base |
|
|
|
if ($ret) { |
|
|
|
$data = $this->auth->getUserinfo(); |
|
|
|
$data['avatar'] = \addons\unishop\model\Config::getImagesFullUrl($data['avatar']); |
|
|
|
$this->success(__('Logged in successful'), $data); |
|
|
|
$this->success('Logged in successful', $data); |
|
|
|
} else { |
|
|
|
$this->error($this->auth->getError()); |
|
|
|
} |
|
|
|