import request from '@/utils/request'; export function querySecheduling(group, params) { return request({ url: `/api/scheduling/${group}/day`, method: 'get', params }); } export function generateScheduling(group, params) { return request({ url: `/api/scheduling/${group}/generate`, method: 'post', params }); } export function getSchedulingAllTrains(group) { return request({ url: `/api/scheduling/${group}/train/all`, method: 'get' }); } export function checkScheduling(group) { return request({ url: `/api/scheduling/${group}/check`, method: 'post' }); } export function saveScheduling(group, data) { return request({ url: `/api/scheduling/${group}/save`, method: 'post', data }); }