|
@@ -638,7 +638,6 @@ type: ${res.type}
|
|
request.post('/api/resources/user/cloud/connect', { userCardId }).then(async res => {
|
|
request.post('/api/resources/user/cloud/connect', { userCardId }).then(async res => {
|
|
try {
|
|
try {
|
|
if (!res.success) {
|
|
if (!res.success) {
|
|
- console.log(res.status, logReportObj.RESPONSE_CODE[res.status])
|
|
|
|
// 设置日志 推流状态为失败,和链接状态
|
|
// 设置日志 推流状态为失败,和链接状态
|
|
logReportObj.setParams({plugFowStatus: 2, linkWay: logReportObj.RESPONSE_CODE[res.status] || 0});
|
|
logReportObj.setParams({plugFowStatus: 2, linkWay: logReportObj.RESPONSE_CODE[res.status] || 0});
|
|
|
|
|
|
@@ -654,7 +653,6 @@ method: post
|
|
}
|
|
}
|
|
|
|
|
|
const data = res.data;
|
|
const data = res.data;
|
|
- console.log('videoType', data.videoCode, data.videoCode.toLowerCase(), logReportObj.VIDEO_TYPE[data.videoCode.toLowerCase()])
|
|
|
|
// 设置上报参数
|
|
// 设置上报参数
|
|
logReportObj.setParams({videoType: data.videoCode.toLowerCase(), resourceId: data.resourceId});
|
|
logReportObj.setParams({videoType: data.videoCode.toLowerCase(), resourceId: data.resourceId});
|
|
|
|
|
|
@@ -992,7 +990,6 @@ method: post
|
|
initLogReport() {
|
|
initLogReport() {
|
|
let clientType;
|
|
let clientType;
|
|
uni.getEnv((res)=>{
|
|
uni.getEnv((res)=>{
|
|
- console.log('当前环境:', res, );
|
|
|
|
clientType = Object.entries(res)?.[0];
|
|
clientType = Object.entries(res)?.[0];
|
|
})
|
|
})
|
|
|
|
|