Ken 4 天之前
父节点
当前提交
4215ff3103
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Models/User.php

+ 1 - 0
app/Models/User.php

@@ -18,6 +18,7 @@ class User extends BaseModel
     protected $attributes = [
         'language' => 'zh',
     ];
+    protected $hidden = ['created_at'];
 
     public function wallet()
     {