页面优化,功能修复

This commit is contained in:
jiangdong.cheng
2026-02-12 13:06:12 +08:00
parent d35c397e8d
commit 67cd9501de
24 changed files with 975 additions and 242 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FeedbackEntry extends Model
{
use HasFactory;
protected $fillable = [
'feedback_type',
'title',
'description',
'contact',
'status',
'ip_address',
];
}

View File

@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class SiteSetting extends Model
{
use HasFactory;
protected $fillable = [
'setting_key',
'setting_value',
];
protected function casts(): array
{
return [
'setting_value' => 'array',
];
}
}