From 4670698e5bc6521b77c4a9c71f050dcd2e0edc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=85=A8?= Date: Fri, 29 Mar 2019 11:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=B4=E5=83=8F=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复头像不显示 --- system/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/views.py b/system/views.py index 19d7720..b909ce1 100644 --- a/system/views.py +++ b/system/views.py @@ -36,7 +36,7 @@ class UserInfo(APIView): 'user_id': obj.id, 'access': list(obj.get_all_permissions()), 'token': token, - 'avator': 'https://file.iviewui.com/dist/a0e88e83800f138b94d2414621bd9704.png' + 'avatar': 'https://file.iviewui.com/dist/a0e88e83800f138b94d2414621bd9704.png' } return HttpResponse(json.dumps(result))