mirror of
https://github.com/v2board/v2board.git
synced 2025-06-14 05:37:49 +08:00
update: opt code
This commit is contained in:
@ -11,6 +11,7 @@ class Coupon extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'limit_plan_ids' => 'array'
|
||||
];
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ class Order extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'surplus_order_ids' => 'array'
|
||||
];
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ class Payment extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'config' => 'array'
|
||||
];
|
||||
}
|
||||
|
@ -11,6 +11,12 @@ class Server extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'group_id' => 'array',
|
||||
'tlsSettings' => 'array',
|
||||
'networkSettings' => 'array',
|
||||
'dnsSettings' => 'array',
|
||||
'ruleSettings' => 'array',
|
||||
'tag' => 'array'
|
||||
];
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ class ServerShadowsocks extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'tag' => 'array'
|
||||
];
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ class ServerTrojan extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $casts = [
|
||||
'created_at' => 'timestamp',
|
||||
'updated_at' => 'timestamp'
|
||||
'updated_at' => 'timestamp',
|
||||
'tag' => 'array'
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user