mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
首页接口替换
This commit is contained in:
@@ -32,9 +32,18 @@ const articlelist=function (type){
|
||||
return ajax.get('/xboe/portal/index/articlelist?type='+type);
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页课程排行榜
|
||||
* 参数和原接口一样,只需要换接口名称就可以
|
||||
* */
|
||||
const courselist=function (data){
|
||||
return ajax.post('/xboe/portal/index/courselist',data);
|
||||
}
|
||||
|
||||
export default {
|
||||
cases,
|
||||
articleViews,
|
||||
qaAnswers,
|
||||
articlelist
|
||||
articlelist,
|
||||
courselist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user