|
@@ -64,9 +64,7 @@ class NotificationV2View(View):
|
|
|
return JsonResponse(status=200, data={'code': 404, 'msg': 'no region or is_st'})
|
|
|
# 时间戳token校验
|
|
|
if time_token:
|
|
|
- time_stamp = int(n_time)
|
|
|
- time_token = int(time_token)
|
|
|
- if not CommonService.check_time_stamp_token(time_token, time_stamp):
|
|
|
+ if not CommonService.check_time_stamp_token(time_token, n_time):
|
|
|
return JsonResponse(status=200, data={'code': 13, 'msg': 'Timestamp token verification failed'})
|
|
|
try:
|
|
|
is_st = int(is_st)
|