mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交修改
This commit is contained in:
@@ -752,6 +752,12 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.interactRuning = true;
|
this.interactRuning = true;
|
||||||
|
let teacherId='';
|
||||||
|
if(this.teachers.length>0){
|
||||||
|
teacherId=this.teachers[0].teacherId;
|
||||||
|
}else{
|
||||||
|
teacherId=this.courseInfo.sysCreateAid
|
||||||
|
}
|
||||||
let postData = {
|
let postData = {
|
||||||
objType: 1,
|
objType: 1,
|
||||||
objId: this.courseId,
|
objId: this.courseId,
|
||||||
@@ -767,7 +773,7 @@
|
|||||||
let event = {
|
let event = {
|
||||||
key: "CancelPraise",//点赞
|
key: "CancelPraise",//点赞
|
||||||
title: "取消点赞",//事件的标题
|
title: "取消点赞",//事件的标题
|
||||||
parameters:"author:"+this.courseInfo.sysCreateAid,//用户自定义参数 name:value,name:value
|
parameters:"author:"+teacherId,//用户自定义参数 name:value,name:value
|
||||||
content: "取消点赞课程",//事件的内容
|
content: "取消点赞课程",//事件的内容
|
||||||
objId: this.courseId,//关联的id
|
objId: this.courseId,//关联的id
|
||||||
objType: "1",//关联的类型
|
objType: "1",//关联的类型
|
||||||
@@ -791,7 +797,7 @@
|
|||||||
let event = {
|
let event = {
|
||||||
key: "Praise",//点赞
|
key: "Praise",//点赞
|
||||||
title: "点赞",//事件的标题
|
title: "点赞",//事件的标题
|
||||||
parameters:"author:"+this.courseInfo.sysCreateAid,//用户自定义参数 name:value,name:value
|
parameters:"author:"+teacherId,//用户自定义参数 name:value,name:value
|
||||||
content: "点赞了课程",//事件的内容
|
content: "点赞了课程",//事件的内容
|
||||||
objId: this.courseId,//关联的id
|
objId: this.courseId,//关联的id
|
||||||
objType: "1",//关联的类型
|
objType: "1",//关联的类型
|
||||||
|
|||||||
Reference in New Issue
Block a user