mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 05:16:43 +08:00
2022年5月29日从svn移到git
This commit is contained in:
35
src/api/modules/courseUpdateLog.js
Normal file
35
src/api/modules/courseUpdateLog.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* 课程修改信息的相关接口
|
||||
*
|
||||
**/
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
/*
|
||||
@param pageIndex 页数
|
||||
@param pageSize 条数
|
||||
startTime endTime 开始时间结束时间 暂时不传,以后拓展
|
||||
*/
|
||||
const pageList=function(query){
|
||||
return ajax.post('/xboe/m/course/log/pageList',query);
|
||||
}
|
||||
/*
|
||||
@param num 条数 默认不传是十条
|
||||
startTime endTime 开始时间结束时间,暂时不传
|
||||
*/
|
||||
const list=function(query){
|
||||
return ajax.post('/xboe/m/course/log/list',query);
|
||||
}
|
||||
/*
|
||||
@param courseId 课程id
|
||||
@param beforeData 修改前
|
||||
@param afterData 修改后
|
||||
*/
|
||||
const save=function(data){
|
||||
return ajax.postJson('/xboe/m/course/log/save',data);
|
||||
}
|
||||
|
||||
export default{
|
||||
pageList,
|
||||
list,
|
||||
save
|
||||
}
|
||||
Reference in New Issue
Block a user