mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交修改
This commit is contained in:
@@ -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",//关联的类型
|
||||
|
||||
Reference in New Issue
Block a user