修复头像不显示

修复头像不显示
This commit is contained in:
何全
2019-03-29 11:43:20 +08:00
parent 4af4bf292a
commit 4670698e5b

View File

@@ -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))