个人主页

This commit is contained in:
zhaofang
2022-09-21 16:05:51 +08:00
parent 933fd7e191
commit cbffa341e2
17 changed files with 463 additions and 64 deletions

View File

@@ -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 {