fix: mlogchange 改 mlogupdate
This commit is contained in:
parent
6fd2f2a009
commit
30be6dc291
|
@ -183,7 +183,7 @@ class MlogViewSet(CustomModelViewSet):
|
||||||
ins = sr.save()
|
ins = sr.save()
|
||||||
return Response(MlogSerializer(ins).data)
|
return Response(MlogSerializer(ins).data)
|
||||||
|
|
||||||
@action(methods=['post'], detail=True, perms_map={'post': 'mlog.change'}, serializer_class=MlogChangeSerializer)
|
@action(methods=['post'], detail=True, perms_map={'post': 'mlog.update'}, serializer_class=MlogChangeSerializer)
|
||||||
def change(self, request, *args, **kwargs):
|
def change(self, request, *args, **kwargs):
|
||||||
"""修改日志
|
"""修改日志
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue