feat: 修改导入权限
This commit is contained in:
parent
c254d99c3c
commit
a2e45d6954
|
@ -352,7 +352,7 @@ class MIOItemViewSet(CustomListModelMixin, BulkCreateModelMixin, BulkDestroyMode
|
||||||
res[i] = 0
|
res[i] = 0
|
||||||
return Response(res)
|
return Response(res)
|
||||||
|
|
||||||
@action(methods=['post'], detail=True, perms_map={'post': 'mioitem.update'}, serializer_class=serializers.Serializer)
|
@action(methods=['post'], detail=True, perms_map={'post': 'mio.update'}, serializer_class=serializers.Serializer)
|
||||||
@transaction.atomic
|
@transaction.atomic
|
||||||
def test_daoru_bg(self, request, *args, **kwargs):
|
def test_daoru_bg(self, request, *args, **kwargs):
|
||||||
"""导入棒管检验
|
"""导入棒管检验
|
||||||
|
|
Loading…
Reference in New Issue