feat: wpr返回详情

This commit is contained in:
caoqianming 2025-01-13 16:10:11 +08:00
parent fbd424fce9
commit 0931835708
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
from apps.utils.viewsets import CustomModelViewSet, CustomGenericViewSet from apps.utils.viewsets import CustomModelViewSet, CustomGenericViewSet
from apps.utils.mixins import CustomListModelMixin from apps.utils.mixins import CustomListModelMixin, RetrieveModelMixin
from apps.wpmw.models import Wpr, WprDefect from apps.wpmw.models import Wpr, WprDefect
from apps.wpmw.serializers import WprSerializer from apps.wpmw.serializers import WprSerializer
class WprViewSet(CustomListModelMixin, CustomGenericViewSet): class WprViewSet(CustomListModelMixin, RetrieveModelMixin, CustomGenericViewSet):
"""动态产品 """动态产品
动态产品 动态产品