提交api

This commit is contained in:
zhaofang
2022-11-02 12:01:27 +08:00
parent 2e027bb6ff
commit ed553c5175
9 changed files with 745 additions and 3 deletions

31
api/phase2/guide.js Normal file
View File

@@ -0,0 +1,31 @@
// import ajax from '@/utils/xajax.js'
import ajax from '../ajax';
const baseURL = process.env.VUE_APP_CESOURCE_BASE_API;
/**
* 显示提取,一次性
* */
const list=function (){
return ajax.get(baseURL,'/xboe/subgroup/m/guide/list');
}
/**
* 保存或编辑
* */
const save=function (data){
return ajax.postJson(baseURL,'/xboe/subgroup/m/guide/save',data);
}
/**
* 判断当前用户是否登录过
* */
const hasUser=function (){
return ajax.get(baseURL,'/xboe/subgroup/m/guide/hasUser');
}
export default {
list,
save,
hasUser
}