system.py 531 B

12345678910111213141516171819202122
  1. # coding=utf-8
  2. """
  3. @project: MaxKB
  4. @Author:虎虎
  5. @file: system_setting.py
  6. @date:2025/6/4 16:34
  7. @desc:
  8. """
  9. from common.mixins.api_mixin import APIMixin
  10. from common.result import ResultSerializer
  11. from system_manage.serializers.system import SystemProfileResponseSerializer
  12. class SystemProfileResult(ResultSerializer):
  13. def get_data(self):
  14. return SystemProfileResponseSerializer()
  15. class SystemProfileAPI(APIMixin):
  16. @staticmethod
  17. def get_response():
  18. return SystemProfileResult