|
@@ -172,9 +172,9 @@ class EquipmentManagerV3(View):
|
|
|
UidSetModel.objects.create(**uid_set_create_dict)
|
|
|
di_qs = Device_Info.objects.filter(UID=uid)
|
|
|
di_qs.update(NickName=nickname)
|
|
|
- if deviceData is not None and deviceData.__contains__('NickName') and us_qs[0].is_alexa:
|
|
|
- asy = threading.Thread(target=ModelService.notify_alexa_add, args=(uid, userID, nickname))
|
|
|
- asy.start()
|
|
|
+ # if deviceData is not None and deviceData.__contains__('NickName') and us_qs[0].is_alexa:
|
|
|
+ asy = threading.Thread(target=ModelService.notify_alexa_add, args=(uid, userID, nickname))
|
|
|
+ asy.start()
|
|
|
# redisObj = RedisObject(db=8)
|
|
|
# redisObj.del_data(key='uid_qs_' + userID)
|
|
|
return response.json(0, res)
|