From 598fe738b22d39172b068db5309476e08481e868 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 10 九月 2024 16:20:31 +0800 Subject: [PATCH] 修改bug --- ruoyi-ui/src/api/travel/index.js | 87 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 87 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/api/travel/index.js b/ruoyi-ui/src/api/travel/index.js index 2c60bf9..2d1e6a8 100644 --- a/ruoyi-ui/src/api/travel/index.js +++ b/ruoyi-ui/src/api/travel/index.js @@ -82,7 +82,13 @@ }) } +export function getTravelBaseInfoBycid(cid) { + return request({ + url: '/travel/detail/' + cid, + method: 'get', + }) +} // 鏍规嵁id鏌ヨ鎵�鏈夋敹鏀彴璐︿俊鎭� export function getTravelBaseInfo(id) { return request({ @@ -116,3 +122,84 @@ method: 'delete' }) } + +// ------------------------------- +// 鍒嗕韩 +export function share(data) { + return request({ + url: '/travelCountShare/share', + method: 'post', + data: data + }) +} +// 鏌ョ湅鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹� +export function shareToWho(data,query) { + return request({ + url: '/travelCountShare/getInfoByUserId', + method: 'post', + data: data, + params: query + }) +} +// 鏌ョ湅璋佸垎浜簡鏁版嵁 +export function getWhoShare(query) { + return request({ + url: '/travelCountShare/getInfoByShareId', + method: 'get', + params: query + }) +} +// 涓嬭浇鍒嗕韩鐨勬暟鎹� +export function downShareData(data) { + return request({ + url: '/travelCountShare/downloadDate', + method: 'post', + data: data + }) +} +// 鏀跺洖鍒嗕韩鏁版嵁 +export function deleteShareData(data) { + return request({ + url: '/travelCountShare/deleteInfoByUserId', + method: 'post', + data: data + }) +} +// 灞曠ず涓嬭浇鐨勬暟鎹� +export function showShareData(query) { + return request({ + url: '/travelCountShare/all', + method: 'get', + params: query + }) +} +// -------------------------------------------- +// 鍒嗕韩瀛愭暟鎹幏鍙� + +// 鏌ョ湅鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹� +export function shareToWho2(data,query) { + return request({ + url: '/travelDetailShare/getInfoByUserId', + method: 'post', + data: data, + params: query + }) +} + +// 鏌ョ湅璋佸垎浜簡鏁版嵁 +export function getWhoShare2(query) { + return request({ + url: '/travelDetailShare/getInfoByShareId', + method: 'get', + params: query + }) +} + +// 灞曠ず涓嬭浇鐨勬暟鎹� +export function showShareData2(query) { + return request({ + url: '/travelDetailShare/all', + method: 'get', + params: query + }) +} -- Gitblit v1.9.1