标注坐标位置修改
This commit is contained in:
parent
43efaab8cd
commit
a7d5299c70
|
@ -50,7 +50,7 @@ class TDeviceViewSet(CustomGenericViewSet):
|
||||||
_, res = dhClient.request(**dhapis['channel_list'], json=request.data)
|
_, res = dhClient.request(**dhapis['channel_list'], json=request.data)
|
||||||
return Response(res)
|
return Response(res)
|
||||||
|
|
||||||
@action(methods=['post'], detail=True, perms_map={'post': 'tdevice:label_location'},
|
@action(methods=['put'], detail=True, perms_map={'put': 'tdevice:label_location'},
|
||||||
serializer_class=LabelLocationSerializer, lookup_field='code')
|
serializer_class=LabelLocationSerializer, lookup_field='code')
|
||||||
def label_location(self, request):
|
def label_location(self, request):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue