From 744485a3f322aa989f82a0399f593cd4b6907cb4 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Fri, 6 May 2022 14:01:48 +0800 Subject: [PATCH] setter --- app/controller/api/User.php | 2 +- view/page/screen.html | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/controller/api/User.php b/app/controller/api/User.php index e2c2f11..e9afb76 100644 --- a/app/controller/api/User.php +++ b/app/controller/api/User.php @@ -183,7 +183,7 @@ class User extends Base $account->business->save(["model"=> Business::model_ordinary]); } } - + $businessRes = [ 'avatar' => File::convertCompleteFileUrl($account['avatar_url']), diff --git a/view/page/screen.html b/view/page/screen.html index ecaa5b8..8c07693 100644 --- a/view/page/screen.html +++ b/view/page/screen.html @@ -45,6 +45,10 @@