新增 UsdtC2C Resource 与页面

This commit is contained in:
2025-06-10 08:26:54 +07:00
parent 4630421e08
commit 827a0e8133
38 changed files with 3532 additions and 31 deletions
+10 -1
View File
@@ -3,7 +3,9 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Filament\Facades\Filament;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
/**
@@ -19,7 +21,14 @@ public function register(): void
*/
public function boot(): void
{
Schema::defaultStringLength(191); // 防止旧 MySQL 出现索引超长报错
Schema::defaultStringLength(191); // 防止旧 MySQL 出现索引超长报错
Filament::serving(function () {
Filament::registerRenderHook(
'panels::head.end',
fn () => '<style>.filament-tables-text-column { user-select: text !important; }</style>'
);
});
// 强制所有表使用 utf8mb4_0900_ai_ci
// Schema::defaultCharset('utf8mb4');