feat: 修改导入权限

This commit is contained in:
caoqianming 2025-05-21 13:52:59 +08:00
parent c254d99c3c
commit a2e45d6954
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ class MIOItemViewSet(CustomListModelMixin, BulkCreateModelMixin, BulkDestroyMode
res[i] = 0
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
def test_daoru_bg(self, request, *args, **kwargs):
"""导入棒管检验