fix: statisc

This commit is contained in:
hashbro
2026-08-10 03:53:10 +08:00
parent ad30453922
commit aad44bf52e
33 changed files with 1207 additions and 28 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PageVisit extends Model
{
public $timestamps = false;
protected $fillable = [
'channel_id',
'client_uid',
'user_agent',
'os',
'os_version',
'browser',
'browser_version',
'ip',
'path',
'created_at',
];
protected function casts(): array
{
return [
'created_at' => 'datetime',
];
}
}