diff --git a/src/api/phase2/userfollow.js b/src/api/phase2/userfollow.js index a2a5c60f..87d311b3 100644 --- a/src/api/phase2/userfollow.js +++ b/src/api/phase2/userfollow.js @@ -9,7 +9,7 @@ const baseURL = process.env.VUE_APP_CESOURCE_BASE_API; * } * */ const save=function (followId){ - return ajax.get('/xboe/subgroup/m/userfollow/save?followId='+followId); + return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/save?followId='+followId); } /** @@ -17,7 +17,7 @@ const save=function (followId){ * * */ const remove=function (followId){ - return ajax.get('/xboe/subgroup/m/userfollow/remove?followId='+followId); + return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/remove?followId='+followId); } /** @@ -29,7 +29,7 @@ const remove=function (followId){ * } * */ const page=function (query){ - return ajax.post('/xboe/subgroup/m/userfollow/page',query); + return ajax.post(baseURL,'/xboe/subgroup/m/userfollow/page',query); } /** @@ -41,14 +41,14 @@ const page=function (query){ * } * */ const mypage=function (query){ - return ajax.post('/xboe/subgroup/m/userfollow/mypage',query); + return ajax.post(baseURL,'/xboe/subgroup/m/userfollow/mypage',query); } /** * 二次查询 * */ const ids=function (data){ - return ajax.postJson('/xboe/subgroup/m/userfollow/ids',data); + return ajax.postJson(baseURL,'/xboe/subgroup/m/userfollow/ids',data); } /** @@ -59,7 +59,7 @@ const ids=function (data){ * } * */ const counts=function (aid){ - return ajax.get('/xboe/subgroup/m/userfollow/counts?aid='+aid); + return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/counts?aid='+aid); } export default { diff --git a/src/components/Article/editItems.vue b/src/components/Article/editItems.vue index 1d9f8b33..eadbf35d 100644 --- a/src/components/Article/editItems.vue +++ b/src/components/Article/editItems.vue @@ -158,12 +158,12 @@ export default { }); let event = { key: "PublishArticle",//后台的事件key 发布文章且审核通过 - title: "首次发表文章(审核通过)",//事件的标题 + title: "发表文章",//事件的标题 parameters:"",//用户自定义参数 name:value,name:value - content: this.addForm.title,//事件的内容 - objId: this.addForm.id,//关联的id + content: "发表了文章",//事件的内容 + objId: res.result.id,//关联的id objType: "2",//关联的类型 - objInfo: "文章", + objInfo: this.addForm.title, aid: this.userInfo.aid, //当前登录人的id aname: this.userInfo.name,//当前人的姓名 status: 1 //状态,直接写1 diff --git a/src/components/Course/myNote.vue b/src/components/Course/myNote.vue index fe3e7925..4889e577 100644 --- a/src/components/Course/myNote.vue +++ b/src/components/Course/myNote.vue @@ -85,6 +85,10 @@ export default { type: Object, default: () => { } }, + score: { + type:String, + default:'' + } }, name: 'MyNote', data() { @@ -206,12 +210,12 @@ export default { // 是编辑新增 let event = { key: "PublishNote",//后台的事件key - title: this.data.name,//事件的标题 + title: '编辑了笔记',//事件的标题 parameters: "",//用户自定义参数 name:value,name:value content: this.data.name,//this.mynoteData.content,//事件的内容 objId: res.result.id,//关联的id objType: "6",//关联的类型 - objInfo: "笔记", + objInfo: this.data.name +''+ this.score, aid: this.userInfo.aid, //当前登录人的id aname: this.userInfo.name,//当前人的姓名 status: 1 //状态,直接写1 diff --git a/src/components/HomePage/answerList.vue b/src/components/HomePage/answerList.vue index 7b2f366f..6ce467eb 100644 --- a/src/components/HomePage/answerList.vue +++ b/src/components/HomePage/answerList.vue @@ -2,8 +2,9 @@
{{item.aname}}{{item.cusInfo}} {{item.eventTime}}
{{item.aname}}{{item.cusInfo}} {{item.eventTime}}
{{item.aname}}{{item.cusInfo}} {{item.eventTime}}
{{item.aname}}{{item.cusInfo}} {{item.eventTime}}
最新一次学习时间:2022-5-28 22:30:28
- 还没有笔记
+还没有关注的人