Commit 478f96b2 by Sweet Zhang

暂存录屏

parent 11b154cd
...@@ -796,19 +796,17 @@ export class MyService { ...@@ -796,19 +796,17 @@ export class MyService {
/** /**
* 可回溯录屏接口 * 可回溯录屏接口
*/ */
rrwebInfo(){ rrwebInfo(events,pageInfo){
const url = this.ydapi + '/customerTrackVideo/rrwebInfo';
const serialsNo = sessionStorage.getItem('lifeRecordSerialsNo') ? sessionStorage.getItem('lifeRecordSerialsNo') :uuid.v4();
sessionStorage.setItem('lifeRecordSerialsNo',serialsNo)
const param = { const param = {
serialsNo:serialsNo, serialsNo:sessionStorage.getItem('lifeSerialsNo'),
token:'', customerId:JSON.parse(localStorage.getItem('lifeCustomerInfo')) ? JSON.parse(localStorage.getItem('lifeCustomerInfo')).customerId : '',
pageType:'', token:localStorage.getItem('lifeToken'),
pageName:'', pageType:pageInfo.type,
customerId:'', pageName:pageInfo.name,
data:'', url:location.href,
url: "" data:JSON.stringify(events)
} };
return this.http.post(url, JSON.stringify(param)); const url = this.ydapi + "/customerTrackVideo/rrwebInfo"
} return this.http.post(url,JSON.stringify(param))
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment