UnisKB/apps/users/api/user.py

24 lines
493 B
Python
Raw Normal View History

2025-04-14 12:11:23 +00:00
# coding=utf-8
"""
@project: MaxKB
@Author虎虎
@file user.py
@date2025/4/14 19:23
@desc:
"""
from common.mixins.api_mixin import APIMixin
from common.result import ResultSerializer
from users.serializers.user import UserProfileResponse
class ApiUserProfileResponse(ResultSerializer):
def get_data(self):
return UserProfileResponse()
class UserProfileAPI(APIMixin):
@staticmethod
def get_response():
return ApiUserProfileResponse