mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 06:46:43 +08:00
2022年5月29日从svn移到git
This commit is contained in:
31
src/api/modules/quicklink.js
Normal file
31
src/api/modules/quicklink.js
Normal file
@@ -0,0 +1,31 @@
|
||||
/**快捷入口*/
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param {
|
||||
* pageIndex 起始页
|
||||
* pageSize 每页条数
|
||||
* name 名称
|
||||
* linkType 连接类型 1:url ,2:图片,3:视频
|
||||
* type 类型 1、教师 2、学员
|
||||
* } query
|
||||
* @returns
|
||||
*/
|
||||
const list=function(query) {
|
||||
return ajax.post('/xboe/quicklink/page',query);
|
||||
}
|
||||
|
||||
/**
|
||||
* 反馈详情
|
||||
* @param {反馈ID} id
|
||||
* @returns
|
||||
*/
|
||||
const detail=function(id) {
|
||||
return ajax.post('/xboe/quicklink/get?id='+id);
|
||||
}
|
||||
|
||||
export default{
|
||||
list,
|
||||
detail
|
||||
}
|
||||
Reference in New Issue
Block a user