📡 API 使用文档

访问记录管理系统 & 小说分享服务 · 基础地址:http://47.98.137.35:8486

💡 所有接口返回 JSON,统一格式为 {"code": 200, "message": "...", "data": ...}。 出错时返回对应 HTTP 状态码(404 不存在 / 403 密码错误 / 422 参数校验失败)。

一、访问记录(access.db)

POST /api/access Swagger 调试 ↗ 记录一次设备访问

请求体(JSON)

字段类型必填说明
device_namestring是设备名称;IP 与访问时间由服务器自动获取
post_appstring否上报设备标识(如客户端程序名/版本),可为空;不传或传 null 时存 NULL
notestring否备注信息,可为空;不传或传 null 时存 NULL

示例

# 请求(完整字段)
curl -X POST http://47.98.137.35:8486/api/access \
  -H "Content-Type: application/json" \
  -d '{"device_name": "实验室电脑A", "post_app": "android-app-v1.2", "note": "开机自检上报"}'

# 请求(只传必填字段,post_app / note 自动存 NULL)
curl -X POST http://47.98.137.35:8486/api/access \
  -H "Content-Type: application/json" \
  -d '{"device_name": "实验室电脑A"}'

# 响应
{"code":200,"message":"记录成功","data":{"id":1,"device_name":"实验室电脑A","device_ip":"x.x.x.x","access_time":"2026-09-23 19:00:00","post_app":"android-app-v1.2","note":"开机自检上报"}}
GET /api/records 获取所有访问记录(按时间倒序)· 点路径打开查看器
# 请求
curl http://47.98.137.35:8486/api/records

# 响应(data 中每条记录均含 post_app / note 字段,可能为 null)
{"code":200,"message":"查询成功","data":[{"id":1,"device_name":"...","device_ip":"...","access_time":"...","post_app":"...","note":"..."}]}
GET /api/records/{record_id} Swagger 调试 ↗ 按 ID 获取单条访问记录

路径参数

参数类型说明
record_idint记录 ID,不存在时返回 404
curl http://47.98.137.35:8486/api/records/1
GET /api/records/filter 多条件筛选访问记录(时间范围/应用/工具/IP/设备名/排序/分页)· 点路径直接执行

Query 参数

参数类型默认范围说明
time_rangestring24h1h / 24h / 7d / all快捷时间窗口
sincestring-YYYY-MM-DD HH:MM:SS自定义起始时间
untilstring-YYYY-MM-DD HH:MM:SS自定义结束时间
device_namestring--精确按设备名
post_appstring--精确按应用名
toolstring--精确按工具标签
ipstring--精确按访问 IP
orderstringtime_desctime_desc / time_asc / id_desc / id_asc排序方向
limitint1001~1000本次返回条数
offsetint0≥0跳过条数(翻页用)
include_active_excludesbooltrue-是否附带应用当前启用的 exclude 规则
exclude_ipsstring--额外的排除 IP(逗号分隔)

示例

# 近 7 天、android 应用、按时间倒序
curl "http://47.98.137.35:8486/api/records/filter?time_range=7d&post_app=android"

# 自定义时间区间 + 设备名精确筛选
curl "http://47.98.137.35:8486/api/records/filter?time_range=all&since=2026-10-01%2000:00:00&until=2026-10-11%2023:59:59&device_name=%E5%AE%9E%E9%AA%8C%E5%AE%A4%E7%94%B5%E8%84%91A"

# 响应
{"code":200,"message":"查询成功,共 3 条","data":{"total":3,"limit":100,"offset":0,"items":[...],"time_range":"7d","order":"time_desc","exclude_ips":[]}}
GET /api/records/export.csv 导出筛选结果为 CSV(流式下载,UTF-8 BOM 兼容 Excel)

Query 参数

与 /api/records/filter 一致,额外加 max_rows(1~100000,默认 10000)。

# 导出近 24 小时的所有记录
curl -OJ "http://47.98.137.35:8486/api/records/export.csv?time_range=24h"

# 导出指定应用 + 自定义时间区间
curl -OJ "http://47.98.137.35:8486/api/records/export.csv?post_app=android&since=2026-10-01%2000:00:00&until=2026-10-11%2023:59:59"

# CSV 头部(包含 id/device_name/device_ip/access_time/post_app/tool/note)
id,device_name,device_ip,access_time,post_app,tool,note
1,实验室电脑A,192.168.1.10,2026-10-11 14:30:00,android,scanner,
2,实验室电脑B,192.168.1.11,2026-10-11 14:32:00,ios,monitor,备注

一·补、访问记录多维度统计(前缀 /api/stats)

基于 access_records 表的多维度统计:按应用、按工具、按 IP 维度统计访问次数与分布, 支持 1h / 24h / 7d / all 四种时间窗口,应用「IP 白名单/排除」规则自动纳入统计口径, 并对重复查询使用 30s 内存缓存,保证响应延迟 < 500ms。

GET /api/stats/overview 总览统计(总访问/唯一IP/唯一设备/应用数/工具数/最近访问)

Query 参数

参数类型默认范围说明
time_rangestring24h1h / 24h / 7d / all时间窗口
include_active_excludesbooltrue-是否应用当前启用的 exclude 规则
exclude_ipsstring--额外排除 IP(逗号分隔)
use_cachebooltrue-是否使用 30s 缓存
# 响应示例
{"code":200,"message":"查询成功","data":{"time_range":"24h","exclude_ips":["10.0.0.1"],"stats":{"total_visits":142,"unique_ips":38,"unique_devices":42,"unique_apps":5,"unique_tools":3,"latest_access":"2026-10-11 14:32:00","from_cache":false}}}
GET /api/stats/by_app 按应用(post_app)维度统计

Query 参数

参数类型默认范围说明
time_rangestring24h1h / 24h / 7d / all时间窗口
orderstringcount_desccount_desc / count_asc / app_asc / app_desc排序方向
include_active_excludesbooltrue-应用 exclude 规则
exclude_ipsstring--额外排除 IP
# 响应示例(items 内每项:app / count / unique_ips / first_seen / last_seen)
{"code":200,"message":"查询成功,共 3 项","data":{"items":[{"app":"android","count":80,"unique_ips":25,"first_seen":"...","last_seen":"..."},{"app":"ios","count":42,"unique_ips":10,...},{"app":"(未指定)","count":20,"unique_ips":3,...}]}}
GET /api/stats/by_tool 按工具(tool)维度统计使用频率与调用情况

Query 参数

同 /api/stats/by_app,order 限定 count_desc / count_asc。

# 响应示例(items 内每项:tool / count / unique_ips / unique_devices / last_seen)
{"code":200,"message":"查询成功,共 4 项","data":{"items":[{"tool":"scanner","count":60,"unique_ips":20,"unique_devices":30,"last_seen":"..."},{"tool":"monitor","count":30,...}]}}

POST /api/access 时可传 tool 字段标识工具维度。

GET /api/stats/by_ip 按 IP 维度统计访问次数、唯一设备数、应用分布

Query 参数

参数类型默认范围说明
time_rangestring24h1h / 24h / 7d / all时间窗口
orderstringcount_desccount_desc / count_asc排序
limitint1001~1000最多返回 IP 数
include_active_excludesbooltrue-应用 exclude 规则
exclude_ipsstring--额外排除 IP
# 响应(items 内每项:ip / count / unique_devices / unique_apps / first_seen / last_seen)
{"code":200,"message":"查询成功,共 30 项","data":{"items":[{"ip":"192.168.1.10","count":25,"unique_devices":3,"unique_apps":2,...}]}}
GET /api/stats/one_time_visitors 仅访问一次后未回访的用户列表(用于识别一次性访客/流失用户)

Query 参数

参数类型默认范围说明
time_rangestring7d1h / 24h / 7d / all时间窗口
orderstringrecent_descrecent_desc / recent_asc / name_asc / name_desc排序
limitint5001~5000最多返回条数
include_active_excludesbooltrue-应用 exclude 规则
exclude_ipsstring--额外排除 IP
# 响应(items 内每项:device_name / last_ip / last_app / last_tool / visits=1 / first_access / last_access)
{"code":200,"message":"查询成功,共 12 项","data":{"items":[{"device_name":"临时访客-张三","last_ip":"203.0.113.5","last_app":"android","last_tool":"scanner","visits":1,"first_access":"...","last_access":"..."}]}}

一·补·二、IP 白名单/排除规则(前缀 /api/ip_rules)

用于配置不纳入统计或根本不记录的 IP 列表(如开发者自身 IP),支持三种匹配写法: 精确 IP(192.168.1.10)、通配(192.168.*.*)、CIDR(192.168.1.0/24)。 规则变更会立即生效(无需重启),并自动清空统计缓存。

GET /api/ip_rules 列出全部 IP 过滤规则

Query 参数

参数类型默认说明
only_enabledboolfalsetrue 时只返回启用的规则
# 响应(每项:id / ip_pattern / rule_type / note / enabled / created_at / updated_at)
{"code":200,"message":"查询成功,共 2 条","data":[{"id":1,"ip_pattern":"10.0.0.1","rule_type":"exclude","note":"开发者自身 IP","enabled":1,"created_at":"...","updated_at":"..."},{"id":2,"ip_pattern":"192.168.*.*","rule_type":"whitelist","note":"内网不统计","enabled":1,"created_at":"...","updated_at":"..."}]}
POST /api/ip_rules Swagger 调试 ↗ 新增 / 更新一条 IP 规则(按 ip_pattern 唯一,需管理员密码)

请求体(JSON)

字段类型必填说明
ip_patternstring是精确 IP / 通配 / CIDR
rule_typestring是whitelist(白名单,不入库)/ exclude(排除,不纳入统计)
notestring否备注
enabledbool否是否启用,默认 true
admin_passwordstring是管理员密码
# 新增示例:排除开发者自身 IP
curl -X POST http://47.98.137.35:8486/api/ip_rules \
  -H "Content-Type: application/json" \
  -d '{"ip_pattern":"10.0.0.1","rule_type":"exclude","note":"开发者自身 IP","admin_password":"YuShare-xxxxxxxxxxxxxxxx"}'

# 新增 CIDR 规则:内网整段不纳入统计
curl -X POST http://47.98.137.35:8486/api/ip_rules \
  -H "Content-Type: application/json" \
  -d '{"ip_pattern":"192.168.1.0/24","rule_type":"exclude","admin_password":"..."}'

# 响应
{"code":200,"message":"保存成功","data":{"id":1,"ip_pattern":"10.0.0.1","rule_type":"exclude","note":"开发者自身 IP","enabled":1,"created_at":"...","updated_at":"..."}}
POST /api/ip_rules/{rule_id}/toggle Swagger 调试 ↗ 启用 / 禁用一条规则(需管理员密码)

请求体(JSON)

字段类型必填说明
enabledbool是目标状态
admin_passwordstring是管理员密码
curl -X POST http://47.98.137.35:8486/api/ip_rules/1/toggle \
  -H "Content-Type: application/json" \
  -d '{"enabled":false,"admin_password":"YuShare-xxxxxxxxxxxxxxxx"}'
DELETE /api/ip_rules/{rule_id} Swagger 调试 ↗ 删除一条规则(需管理员密码,Query 参数)

Query 参数

参数类型必填说明
admin_passwordstring是管理员密码;错误返回 403
curl -X DELETE "http://47.98.137.35:8486/api/ip_rules/1?admin_password=YuShare-xxxxxxxxxxxxxxxx"

二、OCR 文字识别

POST /api/ocr Swagger 调试 ↗ 上传图片进行 OCR 识别(中英文)

请求格式

项目说明
Content-Typemultipart/form-data
表单字段file(图片文件,支持 PNG / JPG / BMP / WebP)

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/ocr -F "file=@/path/to/image.png"

# 响应
{"code":200,"message":"识别成功","data":{"text":"图片中识别出的文字..."}}

三、小说分享(share.db,前缀 /api/share)

当前库内共 23748 条书籍记录(其中已生成分享链接 42 条,已上传 1938 条 / 待上传 21805 条)。 分享字段:fid_key(主键)、fid、filename(书名)、 size(字节)、share_url(夸克分享链接)、passcode(提取码)、 pwd_id、shared_at;
元数据字段(由 scripts/novel_meta.py 扫描写入):title、author、category、summary、 novel_path、encoding、content_hash、meta_at; 上传状态字段:pipeline_status(待上传 / 已上传)、upload_time。

POST /api/share/sync Swagger 调试 ↗ 本地书籍数据批量同步到服务器(新增或覆盖)

请求体(JSON)

字段类型必填说明
booksarray是(不能为空)书籍记录列表;fid_key 必填,其余字段可选

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/share/sync \
  -H "Content-Type: application/json" \
  -d '{"books":[{"fid_key":"60Jp9eHC2vk","filename":"傲妃,风华无双-默雅.txt","share_url":"https://pan.quark.cn/s/990b6813ea36","passcode":"4GDc"}]}'

# 响应
{"code":200,"message":"同步成功","data":{"received":1,"total_in_server":23748}}

实际同步请直接使用客户端脚本:python scripts/sync_share.py --server http://47.98.137.35:8486 sync --local <本地数据库路径>

GET /api/share/books/{book_id} Swagger 调试 ↗ 按书籍 id(fid_key)查询单条
curl http://47.98.137.35:8486/api/share/books/60Jp9eHC2vk

# 书籍不存在时返回 404
{"detail":"书籍 60Jp9eHC2vk 不存在"}
GET /api/share/random 随机查询书籍(默认 100 条)· 点路径打开查看器

Query 参数

参数类型默认范围说明
countint1001 ~ 500随机返回条数
curl "http://47.98.137.35:8486/api/share/random?count=50"
GET /api/share/books 分页查询书籍(按 fid_key 升序)· 点路径打开查看器

Query 参数

参数类型默认范围说明
limitint201 ~ 1000本次返回条数
offsetint0≥ 0跳过的条数(翻页用)
# 第 1 页:offset=0,第 2 页:offset=50(limit=50 时)
curl "http://47.98.137.35:8486/api/share/books?limit=50&offset=0"

# 响应中 data.total 为总数,可据此计算总页数
POST /api/share/books/{book_id}/delete Swagger 调试 ↗ 删除远程书籍(需管理员密码)

请求体(JSON)

字段类型必填说明
admin_passwordstring是管理员密码;错误返回 403

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/share/books/60Jp9eHC2vk/delete \
  -H "Content-Type: application/json" \
  -d '{"admin_password": "YuShare-xxxxxxxxxxxxxxxx"}'

# 响应
{"code":200,"message":"书籍 60Jp9eHC2vk 删除成功","data":{"deleted_id":"60Jp9eHC2vk"}}
GET /api/share/stats 服务器 share 数据库统计(总条数 + 最近 7 天新增)· 点路径直接执行
curl http://47.98.137.35:8486/api/share/stats

# 响应(total_books 为当前总条数,recent_7d 为最近 7 天新增)
{"code":200,"message":"查询成功","data":{"total_books":23748,"recent_7d":37}}

三·补、其他分享内容(share.db 的 share_other 表,前缀 /api/share/other)

用于手工登记小说之外的分享内容,字段:name(名称)、 description(描述)、share_url(夸克网盘分享链接)、 created_at(登记时间,服务器自动生成)。 图形化填写页面:其他分享内容页。

POST /api/share/other Swagger 调试 ↗ 新增一条其他分享内容

请求体(JSON)

字段类型必填说明
namestring是分享内容名称;不能为空或纯空白
descriptionstring否描述,可为空
share_urlstring是夸克网盘分享链接;不能为空或纯空白

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/share/other \
  -H "Content-Type: application/json" \
  -d '{"name": "常用软件合集", "description": "办公常用绿色软件打包", "share_url": "https://pan.quark.cn/s/xxxxxxxxxxxx"}'

# 响应(id 自增,created_at 由服务器自动生成)
{"code":200,"message":"新增成功","data":{"id":1,"name":"常用软件合集","description":"办公常用绿色软件打包","share_url":"https://pan.quark.cn/s/xxxxxxxxxxxx","created_at":"2026-10-05 14:20:00"}}

图形化新增:打开 其他分享内容页,在顶部表单填写后点击「提交」。

GET /api/share/other 查看全部其他分享内容(按 id 倒序)· 点路径打开查看页
curl http://47.98.137.35:8486/api/share/other

# 响应
{"code":200,"message":"查询成功,共 1 条","data":[{"id":1,"name":"常用软件合集","description":"...","share_url":"https://pan.quark.cn/s/xxxxxxxxxxxx","created_at":"2026-10-05 14:20:00"}]}
POST /api/share/other/{other_id}/delete Swagger 调试 ↗ 删除一条其他分享内容(需管理员密码)

请求体(JSON)

字段类型必填说明
admin_passwordstring是管理员密码;错误返回 403

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/share/other/1/delete \
  -H "Content-Type: application/json" \
  -d '{"admin_password": "YuShare-xxxxxxxxxxxxxxxx"}'

# 响应
{"code":200,"message":"分享内容 1 删除成功","data":{"deleted_id":1}}

图形化删除:在其他分享内容页点击每行的「删除」按钮(密码输入一次后缓存在浏览器)。

四、用户反馈(feedback_messages)

POST /api/feedback Swagger 调试 ↗ 提交一条用户反馈

请求体(JSON)

字段类型必填说明
usernamestring是用户名;不能为空或纯空白字符
contactstring否联系方式(手机号/邮箱/微信等),可为空
contentstring是反馈内容;不能为空或纯空白字符

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/feedback \
  -H "Content-Type: application/json" \
  -d '{"username": "张三", "contact": "13800000000", "content": "App 打开小说列表偶尔卡死"}'

# 联系方式可不传
curl -X POST http://47.98.137.35:8486/api/feedback \
  -H "Content-Type: application/json" \
  -d '{"username": "张三", "content": "希望增加夜间模式"}'

# 响应(id 自增,client_ip 与 created_at 由服务器自动记录,status 默认为「未处理」)
{"code":200,"message":"反馈提交成功","data":{"id":4,"username":"张三","contact":"13800000000","content":"App 打开小说列表偶尔卡死","client_ip":"x.x.x.x","created_at":"2026-10-05 13:46:00","status":"未处理"}}
GET /api/feedback 查看所有用户反馈(按时间倒序)· 点路径打开查看器
curl http://47.98.137.35:8486/api/feedback

# 响应(data 中每条记录含 status 处理状态:未处理/已处理/无用)
{"code":200,"message":"查询成功,共 3 条","data":[
  {"id":1,"username":"张三","contact":"13800000000","content":"App 打开小说列表偶尔卡死","client_ip":"x.x.x.x","created_at":"2026-09-23 21:40:06","status":"已处理"},
  {"id":2,"username":"李四","contact":null,"content":"希望增加夜间模式","client_ip":"x.x.x.x","created_at":"2026-09-23 21:40:07","status":"未处理"},
  {"id":3,"username":"赵六","contact":null,"content":"反馈内容测试","client_ip":"x.x.x.x","created_at":"2026-09-23 21:40:09","status":"未处理"}
]}
POST /api/feedback/{feedback_id}/status Swagger 调试 ↗ 更新反馈处理状态(需管理员密码)

请求体(JSON)

字段类型必填说明
statusstring是目标状态:未处理 / 已处理 / 无用(其他值 422)
admin_passwordstring是管理员密码;错误返回 403

示例

# 请求
curl -X POST http://47.98.137.35:8486/api/feedback/3/status \
  -H "Content-Type: application/json" \
  -d '{"status": "已处理", "admin_password": "YuShare-xxxxxxxxxxxxxxxx"}'

# 响应(data 为更新后的完整记录)
{"code":200,"message":"反馈 3 状态已更新为「已处理」","data":{"id":3,"username":"赵六","contact":null,"content":"...","client_ip":"x.x.x.x","created_at":"...","status":"已处理"}}

图形化操作:在 反馈查看器 中点击每行的状态按钮即可(密码输入一次后缓存在浏览器)。

五、里程计算(mileage.db,前缀 /api/mileage)

提供两站之间铁路里程(公里)的查询。车站数据只来自 12306(官方车站表 station_name.js,由 scripts/sync_stations.py 同步); 里程来自本地维护的 mileage_pairs(站对 → 里程映射)—— 命中即返回,未命中即无值。原铁路网络图 / 外部 API / 直线估算等降级层已随 「仅保留 12306 车站数据」一并移除。所有调用均落库到 mileage_call_log,便于排障。

POST /api/mileage/query Swagger 调试 ↗ 查询两站之间的里程(仅查本地 mileage_pairs)

请求体(JSON)

字段类型必填说明
from_telecodestring是出发站电报码(3 位大写字母,如 BJP)
to_telecodestring是到达站电报码,3 位大写字母;不能与出发站相同

响应字段(data)

字段类型说明
distance_kmnumber | null里程值(公里);未命中时为 null
sourcestring | null命中时恒为 mileage_pairs
estimatedbool恒 false(已无估算层,保留字段仅为兼容)
duration_msint本次调用耗时(毫秒)
primary_statusstring查询状态:success / miss / error
errorstring | null失败原因(成功时为 null)

示例

# 命中(数据已在本地 mileage_pairs)
curl -X POST http://47.98.137.35:8486/api/mileage/query \
  -H "Content-Type: application/json" \
  -d '{"from_telecode": "BJP", "to_telecode": "SHH"}'

# 响应(code=200 表示命中,distance_km 才有值)
{"code":200,"message":"查询成功","data":{"distance_km":1318.0,"source":"mileage_pairs","estimated":false,"duration_ms":1,"primary_status":"success","error":null,"is_manual":false,"pair_source":"manual"}}

# 未命中(该站对尚未维护里程)
{"code":500,"message":"里程映射未命中(当前仅保留 12306 车站数据,里程需预先维护)","data":{"distance_km":null,"source":null,"estimated":false,"primary_status":"miss","error":"..."}}
GET /api/mileage/pairs 分页查询本地 mileage_pairs 表(按更新时间倒序)· 点路径直接执行

Query 参数

参数类型默认范围说明
limitint201 ~ 500本次返回条数
offsetint0≥ 0跳过条数(翻页用)
curl "http://47.98.137.35:8486/api/mileage/pairs?limit=50&offset=0"
GET /api/mileage/logs 查看调用日志 · 点路径直接查看

Query 参数

参数类型默认说明
limitint50本次返回条数(1~500)
offsetint0跳过条数(翻页用)
curl "http://47.98.137.35:8486/api/mileage/logs?limit=20"
GET /api/mileage/stats 调用日志统计(总调用 / 命中率 / 最近调用时间)· 点路径直接执行
curl http://47.98.137.35:8486/api/mileage/stats
# 响应
{"code":200,"message":"查询成功","data":{"total_calls":42,"hit_calls":39,"miss_calls":3,"hit_rate":0.9286,"last_call_at":"2026-10-11 14:32:01","pairs_total":120}}
GET /api/mileage/health 模块健康度(车站来源 / 数据规模)
curl http://47.98.137.35:8486/api/mileage/health
# 响应
{"code":200,"message":"查询成功","data":{"station_source":"12306","stations":3404,"pairs":120,"legacy_layers":[]}}
POST /api/mileage/admin/override Swagger 调试 ↗ 管理员手动覆盖站对里程(需管理员密码)

请求体(JSON)

字段类型必填说明
from_telecodestring是出发站电报码,3 位大写字母
to_telecodestring是到达站电报码,3 位大写字母
distance_kmnumber是里程值(公里,> 0)
admin_passwordstring是管理员密码(复用 share_admin_password.txt)
reasonstring否覆盖原因,便于审计
# 请求
curl -X POST http://47.98.137.35:8486/api/mileage/admin/override \
  -H "Content-Type: application/json" \
  -d '{"from_telecode":"BJP","to_telecode":"SHH","distance_km":1318,"admin_password":"YuShare-xxxxxxxxxxxxxxxx","reason":"人工校准"}'
POST /api/mileage/station/upsert Swagger 调试 ↗ 新增或更新车站字典(需管理员密码)

请求体(JSON)

字段类型必填说明
telecodestring是电报码,3 位大写字母
namestring是站名(中文)
pinyinstring否全拼
abbrstring否简拼
admin_passwordstring是管理员密码
curl -X POST http://47.98.137.35:8486/api/mileage/station/upsert \
  -H "Content-Type: application/json" \
  -d '{"telecode":"BJP","name":"北京","pinyin":"beijing","abbr":"bj","admin_password":"YuShare-xxxxxxxxxxxxxxxx"}'
GET /api/mileage/station/{telecode} 按电报码查询车站信息

路径参数

参数类型说明
telecodestring电报码(3 位大写字母),不区分大小写
curl http://47.98.137.35:8486/api/mileage/station/BJP

# 不存在时返回 404
{"detail":"车站 XXX 不存在"}
↑ 返回顶部