UnisKB/apps/system_manage/api/system.py

23 lines
531 B
Python
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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