feature: keep sidebar and add service layer

This commit is contained in:
antv
2026-06-30 11:59:34 +07:00
parent 8a77324f89
commit c5016489ac
54 changed files with 1181 additions and 284 deletions
+3
View File
@@ -10,6 +10,9 @@ class AddCard extends Model
use HasFactory;
protected $table = 'add_card';
public $timestamps = false;
protected $primaryKey = null;
public $incrementing = false;
protected $fillable = [
'buyer',
+1
View File
@@ -13,6 +13,7 @@ class Administration extends Model
protected $table = 'administration';
public $timestamps = false;
protected $fillable = [
'msnv',
+16 -1
View File
@@ -24,6 +24,7 @@ class User extends Authenticatable
protected $table = 'user';
public $timestamps = false;
protected $primaryKey = 'msnv';
public $incrementing = false;
protected $keyType = 'string';
@@ -41,7 +42,6 @@ class User extends Authenticatable
protected $hidden = [
'pass',
'remember_token',
];
/**
@@ -53,4 +53,19 @@ class User extends Authenticatable
{
return $this->pass;
}
// Disable remember token support in database
public function getRememberToken()
{
return null;
}
public function setRememberToken($value)
{
}
public function getRememberTokenName()
{
return '';
}
}