From 0dd1fbcb45fa987255cf50c86b99f889f3ca3d43 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Tue, 13 Sep 2022 10:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Module/Module.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Module/Module.php b/app/Models/Module/Module.php index 61506af..4b1ff92 100644 --- a/app/Models/Module/Module.php +++ b/app/Models/Module/Module.php @@ -28,6 +28,11 @@ class Module extends Model implements AuthenticatableContract, AuthorizableContr 'api_token' ]; + protected $hidden = [ + 'api_token', + 'url' + ]; + public function remoteHost($host_id, $func, $requests) {