From f37e69624111b96f5856262285ffc5cf1ceb7a71 Mon Sep 17 00:00:00 2001 From: 86182 Date: Tue, 13 Sep 2022 16:27:49 +0800 Subject: [PATCH] =?UTF-8?q?potal=E4=BA=8C=E6=9C=9F=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/userhobby.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 {