|
@@ -152,11 +152,16 @@ class EquipmentManagerV3(View):
|
|
|
try:
|
|
|
# deviceData = json.loads(deviceContent)
|
|
|
deviceData = eval(deviceContent)
|
|
|
+
|
|
|
if deviceData.__contains__('userID_id'):
|
|
|
asy = threading.Thread(target=ModelService.update_log,
|
|
|
args=(CommonService.get_ip_address(request), userID, 'modifyV3', deviceData, id))
|
|
|
asy.start()
|
|
|
return response.json(10, '110')
|
|
|
+
|
|
|
+ if deviceData.__contains__('UID'):
|
|
|
+ del deviceData['UID']
|
|
|
+
|
|
|
# print(deviceData['View_Password'])
|
|
|
if deviceData.__contains__('View_Password'):
|
|
|
deviceData['View_Password'] = self.decode_pwd(deviceData['View_Password'])
|