feat: wpr返回详情
This commit is contained in:
parent
fbd424fce9
commit
0931835708
|
@ -1,12 +1,12 @@
|
|||
|
||||
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.serializers import WprSerializer
|
||||
|
||||
|
||||
class WprViewSet(CustomListModelMixin, CustomGenericViewSet):
|
||||
class WprViewSet(CustomListModelMixin, RetrieveModelMixin, CustomGenericViewSet):
|
||||
"""动态产品
|
||||
|
||||
动态产品
|
||||
|
|
Loading…
Reference in New Issue