perf: 修改 asset api

pull/9248/head
ibuler 2 years ago
parent 1b9aad594c
commit da61b4e201

@ -61,8 +61,8 @@ class AssetViewSet(SuggestionMixin, NodeFilterMixin, OrgBulkModelViewSet):
serializer_classes = ( serializer_classes = (
("default", serializers.AssetSerializer), ("default", serializers.AssetSerializer),
("retrieve", serializers.AssetDetailSerializer), ("retrieve", serializers.AssetDetailSerializer),
("suggestion", serializers.MiniAssetSerializer),
("platform", serializers.PlatformSerializer), ("platform", serializers.PlatformSerializer),
("suggestion", serializers.MiniAssetSerializer),
("gateways", serializers.GatewaySerializer), ("gateways", serializers.GatewaySerializer),
) )
rbac_perms = ( rbac_perms = (

Loading…
Cancel
Save