提交修改

This commit is contained in:
daihh
2022-11-17 19:56:53 +08:00
parent 343e8ad6df
commit af7f797253

View File

@@ -752,6 +752,12 @@
return;
}
this.interactRuning = true;
let teacherId='';
if(this.teachers.length>0){
teacherId=this.teachers[0].teacherId;
}else{
teacherId=this.courseInfo.sysCreateAid
}
let postData = {
objType: 1,
objId: this.courseId,
@@ -767,7 +773,7 @@
let event = {
key: "CancelPraise",//点赞
title: "取消点赞",//事件的标题
parameters:"author:"+this.courseInfo.sysCreateAid,//用户自定义参数 name:value,name:value
parameters:"author:"+teacherId,//用户自定义参数 name:value,name:value
content: "取消点赞课程",//事件的内容
objId: this.courseId,//关联的id
objType: "1",//关联的类型
@@ -791,7 +797,7 @@
let event = {
key: "Praise",//点赞
title: "点赞",//事件的标题
parameters:"author:"+this.courseInfo.sysCreateAid,//用户自定义参数 name:value,name:value
parameters:"author:"+teacherId,//用户自定义参数 name:value,name:value
content: "点赞了课程",//事件的内容
objId: this.courseId,//关联的id
objType: "1",//关联的类型