Authorization: Bearer ********************{
"from": "长沙南",
"to": "株洲",
"date": "2025-07-10",
"userId": "1026252"
}curl --location --request POST '/api/domestic/train/search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"from": "长沙南",
"to": "株洲",
"date": "2025-07-10",
"userId": "1026252"
}'{
"code": "200",
"data": [
{
"duration": "00小时38分",
"endDate": "2025-07-10",
"endTime": "00:47",
"firstStation": "石门县北",
"firstTime": "",
"from": "长沙",
"fromStationCode": "CSQ",
"lastStation": "",
"lastTime": "",
"minPrice": "11.0",
"remainNum": "",
"seats": [
{
"remainNum": "0",
"seatName": "软卧",
"seatPrice": "92.5",
"seatType": "5"
},
{
"remainNum": "4",
"seatName": "硬卧",
"seatPrice": "65.0",
"seatType": "6"
},
{
"remainNum": "100",
"seatName": "硬座",
"seatPrice": "11.0",
"seatType": "8"
},
{
"remainNum": "0",
"seatName": "无座",
"seatPrice": "11.0",
"seatType": "9"
}
],
"startDate": "2025-07-10",
"startTime": "00:09",
"to": "株洲",
"toStationCode": "ZZQ",
"trainKey": "62000K137501",
"trainName": "快速",
"trainNo": "K1375",
"trainType": "K"
},
{
"duration": "00小时40分",
"endDate": "2025-07-10",
"endTime": "01:05",
"firstStation": "常德",
"firstTime": "",
"from": "长沙",
"fromStationCode": "CSQ",
"lastStation": "",
"lastTime": "",
"minPrice": "11.0",
"remainNum": "",
"seats": [
{
"remainNum": "0",
"seatName": "软卧",
"seatPrice": "92.5",
"seatType": "5"
},
{
"remainNum": "0",
"seatName": "硬卧",
"seatPrice": "65.0",
"seatType": "6"
},
{
"remainNum": "3",
"seatName": "硬座",
"seatPrice": "11.0",
"seatType": "8"
},
{
"remainNum": "0",
"seatName": "无座",
"seatPrice": "11.0",
"seatType": "9"
}
],
"startDate": "2025-07-10",
"startTime": "00:25",
"to": "株洲",
"toStationCode": "ZZQ",
"trainKey": "6a0000K37700",
"trainName": "快速",
"trainNo": "K377",
"trainType": "K"
},
{
"duration": "00小时35分",
"endDate": "2025-07-10",
"endTime": "05:17",
"firstStation": "北京西",
"firstTime": "",
"from": "长沙",
"fromStationCode": "CSQ",
"lastStation": "",
"lastTime": "",
"minPrice": "11.0",
"remainNum": "",
"seats": [
{
"remainNum": "0",
"seatName": "软卧",
"seatPrice": "92.5",
"seatType": "5"
},
{
"remainNum": "0",
"seatName": "硬卧",
"seatPrice": "65.0",
"seatType": "6"
},
{
"remainNum": "0",
"seatName": "硬座",
"seatPrice": "11.0",
"seatType": "8"
},
{
"remainNum": "0",
"seatName": "无座",
"seatPrice": "11.0",
"seatType": "9"
}
],
"startDate": "2025-07-10",
"startTime": "04:42",
"to": "株洲",
"toStationCode": "ZZQ",
"trainKey": "240000T14527",
"trainName": "特快",
"trainNo": "T145",
"trainType": "T"
},
{
"duration": "00小时45分",
"endDate": "2025-07-10",
"endTime": "07:05",
"firstStation": "长沙",
"firstTime": "",
"from": "长沙",
"fromStationCode": "CSQ",
"lastStation": "",
"lastTime": "",
"minPrice": "20.0",
"remainNum": "",
"seats": [
{
"remainNum": "100",
"seatName": "无座",
"seatPrice": "20.0",
"seatType": "9"
}
],
"startDate": "2025-07-10",
"startTime": "06:20