Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
7 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
454355c509ecd75ecf3024064cbdcbd84571101e
454355c5
1 parent
bc40e697
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
services/recordInfoService.js
services/recordInfoService.js
查看文件 @
454355c
...
...
@@ -59,11 +59,11 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{
var
channefiles
=
''
;
addrecord
.
forEach
(
function
(
record
,
top
){
let
date2
=
moment
(
Number
(
record
.
createTime
)
-
8
*
60
*
60
*
1000
).
format
(
'YYYYMMDDhhmmss'
)
if
(
top
==
0
){
date1
=
moment
(
Number
(
record
.
createTime
)).
format
(
'YYYYMMDD'
)
}
let
channeFile
=
onlinePath
+
date1
;
var
fschannefiles
=
fs
.
readdirSync
(
channeFile
);
if
(
top
==
0
){
date1
=
moment
(
Number
(
record
.
createTime
)).
format
(
'YYYYMMDD'
)
}
console
.
log
(
date1
)
fschannefiles
.
forEach
(
function
(
cfile
,
index
){
if
(
record
.
channel
==
cfile
.
split
(
'_'
)[
0
]
+
'_'
+
cfile
.
split
(
"_"
)[
1
]){
...
...
请
注册
或
登录
后发表评论