From 58ab2aa23929f01cc96166a3033fde2fa442084a Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 16:46:12 +0800 Subject: [PATCH] s --- 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 2d97138..eefe206 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" => env('ALIYUNSMS.CDN_NAME').$vo['avatar'], + "avatar" => 'http://'.env('ALIYUNSMS.CDN_NAME').$vo['avatar'], "nickname" => $vo['nickname'], "is_disabled" => $vo['disabled'], "type" => $vo["type"],