From 639da778781f42920096eeeb2a1b4c575e959ee9 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Mon, 17 Feb 2025 19:48:35 +0800 Subject: [PATCH] update --- src/api/station.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/station.js b/src/api/station.js index ea11e2f..a3772e7 100644 --- a/src/api/station.js +++ b/src/api/station.js @@ -3,7 +3,7 @@ import request from '@/utils/request' // 获取驿站列表 export function getStationList(params) { return request({ - url: '/api/station/', + url: '/api/station', method: 'get', params }) @@ -12,7 +12,7 @@ export function getStationList(params) { // 添加驿站 export function createStation(data) { return request({ - url: '/api/station/', + url: '/api/station', method: 'post', data })