|
@@ -101,6 +101,7 @@ class deviceStatus(TemplateView):
|
|
'refresh_token': refresh_token
|
|
'refresh_token': refresh_token
|
|
}
|
|
}
|
|
r = requests.post(url=url, data=data, timeout=10)
|
|
r = requests.post(url=url, data=data, timeout=10)
|
|
|
|
+ logger.info('请求更新token状态码: {}'.format(r.status_code))
|
|
|
|
|
|
return JsonResponse({'code': 200, 'msg': 'success'})
|
|
return JsonResponse({'code': 200, 'msg': 'success'})
|
|
except Exception as e:
|
|
except Exception as e:
|