mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 21:06:42 +08:00
个人主页
This commit is contained in:
@@ -9,7 +9,7 @@ const baseURL = process.env.VUE_APP_CESOURCE_BASE_API;
|
||||
* }
|
||||
* */
|
||||
const save=function (followId){
|
||||
return ajax.get('/xboe/subgroup/m/userfollow/save?followId='+followId);
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/save?followId='+followId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -17,7 +17,7 @@ const save=function (followId){
|
||||
*
|
||||
* */
|
||||
const remove=function (followId){
|
||||
return ajax.get('/xboe/subgroup/m/userfollow/remove?followId='+followId);
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/remove?followId='+followId);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,7 +29,7 @@ const remove=function (followId){
|
||||
* }
|
||||
* */
|
||||
const page=function (query){
|
||||
return ajax.post('/xboe/subgroup/m/userfollow/page',query);
|
||||
return ajax.post(baseURL,'/xboe/subgroup/m/userfollow/page',query);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -41,14 +41,14 @@ const page=function (query){
|
||||
* }
|
||||
* */
|
||||
const mypage=function (query){
|
||||
return ajax.post('/xboe/subgroup/m/userfollow/mypage',query);
|
||||
return ajax.post(baseURL,'/xboe/subgroup/m/userfollow/mypage',query);
|
||||
}
|
||||
|
||||
/**
|
||||
* 二次查询
|
||||
* */
|
||||
const ids=function (data){
|
||||
return ajax.postJson('/xboe/subgroup/m/userfollow/ids',data);
|
||||
return ajax.postJson(baseURL,'/xboe/subgroup/m/userfollow/ids',data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -59,7 +59,7 @@ const ids=function (data){
|
||||
* }
|
||||
* */
|
||||
const counts=function (aid){
|
||||
return ajax.get('/xboe/subgroup/m/userfollow/counts?aid='+aid);
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/counts?aid='+aid);
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user