|
@@ -637,7 +637,7 @@ def uid_status(request):
|
|
|
response.lang = tko.lang
|
|
|
if tko.code != 0:
|
|
|
return response.json(tko.code)
|
|
|
- qs = UidSetModel.objects.filter(uid=uid).values('uid', 'detect_status', 'detect_interval', 'version', 'ucode')
|
|
|
+ qs = UidSetModel.objects.filter(uid=uid).values('uid', 'detect_status', 'detect_interval', 'version', 'ucode','p2p_region')
|
|
|
# 判断uid配置表信息是否存在
|
|
|
if qs.exists():
|
|
|
data = {
|
|
@@ -645,6 +645,7 @@ def uid_status(request):
|
|
|
'push_interval': qs[0]['detect_interval'], # 推送间隔
|
|
|
'ucode': qs[0]['ucode'],
|
|
|
'version': qs[0]['version'],
|
|
|
+ 'p2p_region':qs[0]['p2p_region']
|
|
|
}
|
|
|
# 查询云存储相关信息
|
|
|
ubqs = UID_Bucket.objects.filter(uid=uid). \
|