Skip to content

Commit

Permalink
feat: list idle application apis return type and is_plugin_app fields (
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux authored Jun 26, 2024
1 parent 6fbec69 commit 5cb93eb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ class IdleModuleEnvSLZ(serializers.Serializer):
class IdleApplicationSLZ(serializers.Serializer):
code = serializers.CharField(help_text="应用 Code", source="app.code")
name = serializers.CharField(help_text="应用名称", source="app.name")
type = serializers.CharField(help_text="应用类型", source="app.type")
is_plugin_app = serializers.BooleanField(help_text="是否为插件应用", source="app.is_plugin_app")
logo_url = serializers.CharField(help_text="应用 Logo 访问地址", source="app.get_logo_url")

administrators = serializers.JSONField(help_text="应用管理员列表")
Expand Down

0 comments on commit 5cb93eb

Please sign in to comment.