Files
learning-system-portal/src/api/modules/quicklink.js
2022-05-29 18:56:34 +08:00

32 lines
535 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**快捷入口*/
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
}