diff --git a/src/api/modules/userhobby.js b/src/api/modules/userhobby.js index 879d36ae..5c2c0d1a 100644 --- a/src/api/modules/userhobby.js +++ b/src/api/modules/userhobby.js @@ -10,7 +10,7 @@ import ajax from '@/utils/xajax.js' * } * */ 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){ - return ajax.postJson('/xboe/stat/m/userhobby/list',data); + return ajax.postJson('/xboe/subgroup/m/userhobby/list',data); } /** * 获取用户兴趣关联的id * */ 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查出来的返回值 * */ 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){ - return ajax.get('/xboe/stat/m/userhobby/delete?id='+id); + return ajax.get('/xboe/subgroup/m/userhobby/delete?id='+id); } export default {