From 0f778f94c68571fe02e1d881683debbbf450ddec Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 30 Oct 2019 17:00:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=20/api/mapSkin=20=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E7=9A=84=E6=8E=A5=E5=8F=A3=E8=B7=AF=E5=BE=84=E9=83=BD?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20=20/api/realLine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/mapskin.js | 72 +++++++++++++++++------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/src/api/management/mapskin.js b/src/api/management/mapskin.js index 7ca93831d..1eba6fd9a 100644 --- a/src/api/management/mapskin.js +++ b/src/api/management/mapskin.js @@ -2,68 +2,68 @@ import request from '@/utils/request'; /** 分页查询皮肤*/ export function getSkinCodePageList(params) { - return request({ - url: `/api/mapSkin`, - method: 'get', - params: params - }); + return request({ + url: `/api/realLine`, + method: 'get', + params: params + }); } /** 添加皮肤*/ export function addSkinCode(data) { - return request({ - url: `/api/mapSkin`, - method: 'post', - data: data - }); + return request({ + url: `/api/realLine`, + method: 'post', + data: data + }); } /** 删除皮肤*/ export function delSkinCode(id) { - return request({ - url: `/api/mapSkin/${id}`, - method: 'delete' - }); + return request({ + url: `/api/realLine/${id}`, + method: 'delete' + }); } /** 查询地图皮肤 */ export function querySkinCode(id) { - return request({ - url: `/api/mapSkin/${id}`, - method: 'get' - }); + return request({ + url: `/api/realLine/${id}`, + method: 'get' + }); } /** 修改地图皮肤*/ export function updateSkinCode(data) { - return request({ - url: `/api/mapSkin/${data.id}`, - method: 'put', - data: data - }); + return request({ + url: `/api/realLine/${data.id}`, + method: 'put', + data: data + }); } /** 通过皮肤Code更新地图皮肤*/ export function updateSkinCodeByCode(data) { - return request({ - url: `/api/mapSkin/${data.code}/update`, - method: 'put', - data: data - }); + return request({ + url: `/api/realLine/${data.code}/update`, + method: 'put', + data: data + }); } /** 查询皮肤是否存在*/ export function querySkinCodeExistByCode(code) { - return request({ - url: `/api/mapSkin/${code}/exist`, - method: 'get' - }); + return request({ + url: `/api/realLine/${code}/exist`, + method: 'get' + }); } /** 获取皮肤列表*/ export function getSkinCodeList() { - return request({ - url: `/api/mapSkin/list`, - method: 'get' - }); + return request({ + url: `/api/realLine/list`, + method: 'get' + }); }