MaxKB/apps/users/api/user.py
2025-04-14 20:11:23 +08:00

24 lines
493 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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