mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
24 lines
493 B
Python
24 lines
493 B
Python
# coding=utf-8
|
||
"""
|
||
@project: MaxKB
|
||
@Author:虎虎
|
||
@file: user.py
|
||
@date:2025/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
|