Browse Source

update: fix model

tokumeikoi 3 years ago
parent
commit
f2c7d092ac
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/Models/ServerShadowsocks.php
  2. 1 0
      app/Models/ServerTrojan.php

+ 1 - 0
app/Models/ServerShadowsocks.php

@@ -12,6 +12,7 @@ class ServerShadowsocks extends Model
     protected $casts = [
         'created_at' => 'timestamp',
         'updated_at' => 'timestamp',
+        'group_id' => 'array',
         'tags' => 'array'
     ];
 }

+ 1 - 0
app/Models/ServerTrojan.php

@@ -12,6 +12,7 @@ class ServerTrojan extends Model
     protected $casts = [
         'created_at' => 'timestamp',
         'updated_at' => 'timestamp',
+        'group_id' => 'array',
         'tags' => 'array'
     ];
 }