feat: OCR图片搜索 + 图片编辑器 + Token管理

新增功能:
- OCR图片内容搜索 (Tesseract + 中文支持)
- 图片编辑器 (裁剪/旋转/亮度/对比度/饱和度/模糊)
- 独立Token管理页面

Bug修复:
- 修复图片显示和交互问题
- 修复相册计数不准确
- 修复搜索过滤逻辑

详细变更见 CHANGELOG.md
This commit is contained in:
personal82555 committed 2026-10-22 11:58:05 +08:00
commit d40381cd01
14 files changed
+2973

No files matched your search

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::table('images', function (Blueprint $table) {
$table->text('ocr_text')->nullable()->after('origin_name');
});
}
public function down()
{
Schema::table('images', function (Blueprint $table) {
$table->dropColumn('ocr_text');
});
}
};