feat: 新增API响应模型、缓存配置和状态管理

refactor: 优化网络请求和错误处理

fix: 修复颜色引用和UI细节问题

docs: 更新API文档和设计规范

chore: 清理无用文件和脚本

perf: 优化图片导出和压缩逻辑

build: 更新依赖和构建配置

style: 调整代码格式和注释

test: 添加接口验证脚本

ci: 更新CI配置和脚本
This commit is contained in:
Developer
2026-04-29 01:39:48 +08:00
parent b6441a8919
commit a4b7105999
158 changed files with 45166 additions and 6450 deletions

View File

@@ -99,6 +99,25 @@ Route::get([
'api/search/history' => 'api/search/history',
]);
// APP API路由 - 全量搜索(SearchAll)
Route::rule([
'api/searchall/search' => 'api/searchall/search',
'api/searchall/exact' => 'api/searchall/exact',
'api/searchall/fuzzy' => 'api/searchall/fuzzy',
'api/searchall/related' => 'api/searchall/related',
'api/searchall/condition' => 'api/searchall/condition',
'api/searchall/getById' => 'api/searchall/getById',
'api/searchall/getByIds' => 'api/searchall/getByIds',
'api/searchall/suggest' => 'api/searchall/suggest',
'api/searchall/hot' => 'api/searchall/hot',
'api/searchall/history' => 'api/searchall/history',
'api/searchall/sources' => 'api/searchall/sources',
'api/searchall/fieldSearch' => 'api/searchall/fieldSearch',
'api/searchall/fullDetail' => 'api/searchall/fullDetail',
'api/searchall/relatedRecommend' => 'api/searchall/relatedRecommend',
'api/searchall/highlight' => 'api/searchall/highlight',
]);
// APP API路由 - 一言
Route::get([
'api/hitokoto/random' => 'api/hitokoto/random',