mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
25 lines
394 B
JavaScript
25 lines
394 B
JavaScript
import ajax from '@/utils/xajax.js'
|
|
|
|
|
|
|
|
/**
|
|
* 添加或编辑
|
|
* @param 参数见设计文档
|
|
* */
|
|
const saveOrUpdate=function (data){
|
|
return ajax.postJson('/xboe/subgroup/m/pageplace/saveOrUpdate',data);
|
|
}
|
|
|
|
/**
|
|
* 根据key获取资源信息
|
|
* */
|
|
const detail=function (key){
|
|
return ajax.get('/xboe/subgroup/m/pageplace/detail?key='+key);
|
|
}
|
|
|
|
|
|
export default {
|
|
saveOrUpdate,
|
|
detail
|
|
}
|