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:
@@ -347,11 +347,26 @@ const deleteSignUp=function(id,courseId){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 二次查询
|
* 二次查询 用于个人主页/他人主页
|
||||||
|
* {
|
||||||
|
* ids [] 数组,是那个动态列表的contentId
|
||||||
|
* aid 个人主页可以不传 他人主页传
|
||||||
|
* }
|
||||||
* */
|
* */
|
||||||
const ids=function (data){
|
const ids=function (data){
|
||||||
return ajax.postJson('/xboe/school/study/course/ids',data);
|
return ajax.postJson('/xboe/school/study/course/ids',data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 二次查询 用于我的关注
|
||||||
|
* {
|
||||||
|
* ids [] 数组,是那个动态列表的contentId
|
||||||
|
* aids 我关注的人的id 调完接口查询出的followId
|
||||||
|
* }
|
||||||
|
* */
|
||||||
|
const followIds=function (data){
|
||||||
|
return ajax.postJson('/xboe/school/study/course/follow-ids',data);
|
||||||
|
}
|
||||||
export default {
|
export default {
|
||||||
hasSignup,
|
hasSignup,
|
||||||
signup,
|
signup,
|
||||||
@@ -381,5 +396,6 @@ export default {
|
|||||||
myExamList2,
|
myExamList2,
|
||||||
myCourseStudy,
|
myCourseStudy,
|
||||||
deleteSignUp,
|
deleteSignUp,
|
||||||
ids
|
ids,
|
||||||
|
followIds
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user