MaxKB/apps/system_manage/api/system.py
2025-06-04 17:16:35 +08:00

23 lines
531 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 system_setting.py
@date2025/6/4 16:34
@desc:
"""
from common.mixins.api_mixin import APIMixin
from common.result import ResultSerializer
from system_manage.serializers.system import SystemProfileResponseSerializer
class SystemProfileResult(ResultSerializer):
def get_data(self):
return SystemProfileResponseSerializer()
class SystemProfileAPI(APIMixin):
@staticmethod
def get_response():
return SystemProfileResult