Explorar o código

Merge branch 'dev' of http://192.168.136.45:3000/SERVER/AnsjerServer into dev

chanjunkai %!s(int64=5) %!d(string=hai) anos
pai
achega
7f66fbf22a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Controller/EquipmentManager.py

+ 2 - 0
Controller/EquipmentManager.py

@@ -224,6 +224,8 @@ def modifyUserEquipmentInterface(request):
                 }
                 UidSetModel.objects.create(**uid_set_create_dict)
             Device_Info.objects.filter(UID=uid).update(NickName=nickname)
+            redisObj = RedisObject(db=8)
+            redisObj.del_data(key='uid_qs_' + userID)
         return response.json(0, res)