|
@@ -32,6 +32,10 @@ class User extends Api
|
|
|
*/
|
|
|
public function index()
|
|
|
{
|
|
|
+ $this->auth->getUser()->head_img = config('site.head_img');
|
|
|
+ $this->auth->getUser()->gw_name = config('site.gw_name');
|
|
|
+ $this->auth->getUser()->dingding = config('site.dingding');
|
|
|
+ $this->auth->getUser()->qywx = config('site.qywx');
|
|
|
$this->success('', ['welcome' => $this->auth->getUser()]);
|
|
|
}
|
|
|
|