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
9daf560bfd081dd25a47068b8b65937e9b157376
9daf560b
1 parent
f1bef6c6
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
services/recordInfoService.js
services/recordInfoService.js
查看文件 @
9daf560
...
...
@@ -63,6 +63,8 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{
let
files
=
fs
.
readdirSync
(
pathURL
);
files
.
forEach
(
function
(
file
){
let
type
=
file
.
split
(
'.'
);
console
.
log
(
type
[
1
])
//m3u8 配置
if
(
type
[
1
]
!=
'mp4'
){
}
else
{
let
fileN
=
type
[
0
].
split
(
'_'
);
...
...
@@ -70,6 +72,7 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{
backFile
.
push
({
channel
:
record
.
channel
,
uid
:
record
.
uid
,
timestamp
:
record
.
timestamp
,
createTime
:
record
.
createTime
,
fileUrl
:
applacation
.
recordPath
+
date1
+
'/'
+
cfile
+
'/'
+
file
})
...
...
请
注册
或
登录
后发表评论