付智勇

no message

... ... @@ -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]){
... ...