|
@@ -90,7 +90,7 @@ class EquipmentManagerV3(View):
|
|
return response.json(10, 'illegal uid: {uid}'.format(uid=UID))
|
|
return response.json(10, 'illegal uid: {uid}'.format(uid=UID))
|
|
is_bind = Device_Info.objects.filter(UID=UID, isShare=False).values('userID__userID')
|
|
is_bind = Device_Info.objects.filter(UID=UID, isShare=False).values('userID__userID')
|
|
# 判断是否有已绑定用户
|
|
# 判断是否有已绑定用户
|
|
- if is_bind and isCheckMainUser == 1:
|
|
|
|
|
|
+ if is_bind and isCheckMainUser == '1':
|
|
isMainUserExists = True
|
|
isMainUserExists = True
|
|
|
|
|
|
|
|
|