mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
留言
This commit is contained in:
@@ -12,14 +12,14 @@ const baseURL = process.env.VUE_APP_CESOURCE_BASE_API;
|
||||
* }
|
||||
* */
|
||||
const save=function (data){
|
||||
return ajax.postJson('/xboe/subgroup/m/guest/save',data);
|
||||
return ajax.postJson(baseURL,'/xboe/subgroup/m/guest/save',data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除留言
|
||||
* */
|
||||
const del=function (id){
|
||||
return ajax.get('/xboe/subgroup/m/guest/delete?id='+id);
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/guest/delete?id='+id);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ const del=function (id){
|
||||
* }
|
||||
* */
|
||||
const answer=function (data){
|
||||
return ajax.post('/xboe/subgroup/m/guest/answer',data);
|
||||
return ajax.post(baseURL,'/xboe/subgroup/m/guest/answer',data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -42,7 +42,7 @@ const answer=function (data){
|
||||
* }
|
||||
* */
|
||||
const givelist=function (query){
|
||||
return ajax.post('/xboe/subgroup/m/guest/givelist',query);
|
||||
return ajax.post(baseURL,'/xboe/subgroup/m/guest/givelist',query);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,7 +54,7 @@ const givelist=function (query){
|
||||
* }
|
||||
* */
|
||||
const mylist=function (query){
|
||||
return ajax.post('/xboe/subgroup/m/guest/mylist',query);
|
||||
return ajax.post(baseURL,'/xboe/subgroup/m/guest/mylist',query);
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user