学生信息,oss地址切换

This commit is contained in:
2022-09-29 10:58:53 +08:00
parent e6813ecb84
commit 367e151ece

View File

@@ -70,7 +70,7 @@ class Student
$result = [ $result = [
"id" => $vo['id'], "id" => $vo['id'],
"hot" => $vo['hot'], "hot" => $vo['hot'],
"avatar" => 'http://'.env('ALIYUNSMS.CDN_NAME').$vo['avatar'], "avatar" => $vo['avatar'],
"nickname" => $vo['nickname'], "nickname" => $vo['nickname'],
"is_disabled" => $vo['disabled'], "is_disabled" => $vo['disabled'],
"type" => $vo["type"], "type" => $vo["type"],