mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 00:06:45 +08:00
我分享的全部和分享给我的全部,批量查看是否已收藏
This commit is contained in:
@@ -112,7 +112,7 @@ const mymearticlelist=function(query){
|
||||
*/
|
||||
const updateIsRead=function(id){
|
||||
return ajax.get(`/xboe/m/share/updateIsRead?id=${id}`);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
撤回分享
|
||||
@@ -121,6 +121,29 @@ const updateIsRead=function(id){
|
||||
const deleteshares=function(id){
|
||||
return ajax.get(`/xboe/m/share/delete-shares?id=${id}`);
|
||||
}
|
||||
/**
|
||||
* 我分享的全部
|
||||
* @param pageIndex 第几页
|
||||
* @param pageSize 每页多少行
|
||||
* @param keyword 关键字搜索
|
||||
* @param isRead 是否已读
|
||||
* */
|
||||
const findMeShare=function (query){
|
||||
return ajax.post('/xboe/m/share/findMeShare',query);
|
||||
}
|
||||
/**
|
||||
* 分享给我的全部
|
||||
* @param pageIndex 第几页
|
||||
* @param pageSize 每页多少行
|
||||
* @param keyword 关键字搜索
|
||||
* @param isRead 是否已读
|
||||
* */
|
||||
const findShareMe=function (query){
|
||||
return ajax.post('/xboe/m/share/findShareMe',query);
|
||||
}
|
||||
|
||||
/**
|
||||
* */
|
||||
export default{
|
||||
save,
|
||||
has,
|
||||
@@ -134,5 +157,7 @@ const deleteshares=function(id){
|
||||
mymecourselist,
|
||||
mymearticlelist,
|
||||
updateIsRead,
|
||||
deleteshares
|
||||
deleteshares,
|
||||
findMeShare,
|
||||
findShareMe
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user