This commit is contained in:
aaron 2025-02-17 19:48:35 +08:00
parent 9f22f57955
commit 639da77878

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 获取驿站列表 // 获取驿站列表
export function getStationList(params) { export function getStationList(params) {
return request({ return request({
url: '/api/station/', url: '/api/station',
method: 'get', method: 'get',
params params
}) })
@ -12,7 +12,7 @@ export function getStationList(params) {
// 添加驿站 // 添加驿站
export function createStation(data) { export function createStation(data) {
return request({ return request({
url: '/api/station/', url: '/api/station',
method: 'post', method: 'post',
data data
}) })