|
@@ -1190,10 +1190,12 @@ class EquipmentManagerV3(View):
|
|
|
try:
|
|
|
# 异步请求其他服
|
|
|
if CONFIG_INFO == CONFIG_US:
|
|
|
- change_pwd_thread = threading.Thread(target=self.change_pwd, args=request_dict.dict())
|
|
|
+ change_pwd_thread = threading.Thread(target=self.change_pwd, args=(request_dict.dict(),))
|
|
|
+ change_pwd_thread.start()
|
|
|
|
|
|
view_password = self.decode_pwd(encrypt_pwd)
|
|
|
Device_Info.objects.filter(UID=uid).update(View_Password=view_password)
|
|
|
+ UidSetModel.objects.filter(uid=uid).update(pwd=view_password)
|
|
|
content = json.loads(json.dumps(request_dict))
|
|
|
log = {
|
|
|
'user_id': 2,
|