From 012597164138b99cdadc274359b5e53d7dccc9ec Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 16:45:47 +0800 Subject: [PATCH] avatar --- app/controller/Student.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Student.php b/app/controller/Student.php index ab550f6..2d97138 100644 --- a/app/controller/Student.php +++ b/app/controller/Student.php @@ -70,7 +70,7 @@ class Student $result = [ "id" => $vo['id'], "hot" => $vo['hot'], - "avatar" => $vo['avatar'], + "avatar" => env('ALIYUNSMS.CDN_NAME').$vo['avatar'], "nickname" => $vo['nickname'], "is_disabled" => $vo['disabled'], "type" => $vo["type"],