potal二期接口

This commit is contained in:
86182
2022-09-13 16:27:49 +08:00
parent 135fb98444
commit f37e696241

View File

@@ -10,7 +10,7 @@ import ajax from '@/utils/xajax.js'
* } * }
* */ * */
const save=function (data){ const save=function (data){
return ajax.postJson('/xboe/stat/m/userhobby/save',data); return ajax.postJson('/xboe/subgroup/m/userhobby/save',data);
} }
/** /**
@@ -18,14 +18,14 @@ const save=function (data){
* 参数:下面那个接口的返回值直接传 * 参数:下面那个接口的返回值直接传
* */ * */
const list=function (data){ const list=function (data){
return ajax.postJson('/xboe/stat/m/userhobby/list',data); return ajax.postJson('/xboe/subgroup/m/userhobby/list',data);
} }
/** /**
* 获取用户兴趣关联的id * 获取用户兴趣关联的id
* */ * */
const info=function (){ const info=function (){
return ajax.get('/xboe/stat/m/userhobby/info'); return ajax.get('/xboe/subgroup/m/userhobby/info');
} }
/** /**
@@ -33,14 +33,14 @@ const info=function (){
* 参数是上一个接口 info查出来的返回值 * 参数是上一个接口 info查出来的返回值
* */ * */
const update=function (data){ const update=function (data){
return ajax.postJson('/xboe/stat/m/userhobby/update',data); return ajax.postJson('/xboe/subgroup/m/userhobby/update',data);
} }
/** /**
* 删除 * 删除
* */ * */
const del=function (id){ const del=function (id){
return ajax.get('/xboe/stat/m/userhobby/delete?id='+id); return ajax.get('/xboe/subgroup/m/userhobby/delete?id='+id);
} }
export default { export default {