|
@@ -1,5 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
|
|
-# -*- coding: utf-8 -*-
|
|
|
|
|
|
+#!/usr/bin/env python3
|
|
|
|
+# -*- coding: utf-8 -*-
|
|
"""
|
|
"""
|
|
@Copyright (C) ansjer cop Video Technology Co.,Ltd.All rights reserved.
|
|
@Copyright (C) ansjer cop Video Technology Co.,Ltd.All rights reserved.
|
|
@AUTHOR: ASJRD018
|
|
@AUTHOR: ASJRD018
|
|
@@ -514,7 +514,8 @@ class CloudVodView(View):
|
|
# stime = request_dict.get('stime', None)
|
|
# stime = request_dict.get('stime', None)
|
|
# etime = request_dict.get('etime', None)
|
|
# etime = request_dict.get('etime', None)
|
|
daytime = request_dict.get('daytime', None)
|
|
daytime = request_dict.get('daytime', None)
|
|
- timeArray = time.strptime(str(int(daytime) - 8), "%Y%m%d%H")
|
|
|
|
|
|
+ # timeArray = time.strptime(str(int(daytime) - 8), "%Y%m%d%H")
|
|
|
|
+ timeArray = time.strptime(daytime, "%Y%m%d%H")
|
|
startTime = time.mktime(timeArray)
|
|
startTime = time.mktime(timeArray)
|
|
endTime = startTime + 3600
|
|
endTime = startTime + 3600
|
|
|
|
|