浏览代码

update: fix model

tokumeikoi 3 年之前
父节点
当前提交
f2c7d092ac
共有 2 个文件被更改,包括 2 次插入0 次删除
  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'
     ];
 }