mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 09:16:44 +08:00
修改消息记录信息
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
写文章
|
||||
</div>
|
||||
<div id="articleAnking">
|
||||
|
||||
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">贡献榜</p>
|
||||
<ul class="ranking-data">
|
||||
@@ -299,7 +299,19 @@ export default {
|
||||
},
|
||||
success(value){
|
||||
let content=this.userInfo.name+'评论了我的文章'+'-'+this.articleDetailData.title;
|
||||
let query={refId:this.articleDetailData.id,sendType:1,title:'系统消息',refType:2,content:content,sendName:this.userInfo.name,acceptId:this.articleDetailData.sysCreateAid,acceptName:this.articleDetailData.sysCreateBy}
|
||||
let query={
|
||||
refId:this.articleDetailData.id,
|
||||
sendType:1,
|
||||
title:'系统消息',
|
||||
source:1,
|
||||
pageUrl:location.href,
|
||||
sendAid:this.userInfo.aid,
|
||||
refType:2,
|
||||
content:content,
|
||||
sendName:this.userInfo.name,
|
||||
acceptId:this.articleDetailData.sysCreateAid,
|
||||
acceptName:this.articleDetailData.sysCreateBy,
|
||||
}
|
||||
apiMessage.save(query).then(res=>{
|
||||
if(res.status==200){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user