From 44c095af4f0c9d91fd09af9d05b8c898d34922e5 Mon Sep 17 00:00:00 2001 From: hgc Date: Mon, 23 Dec 2024 16:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/ThirdUser.php | 2 +- config/thinkorm.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/model/ThirdUser.php b/app/model/ThirdUser.php index 929376b..10ae3ca 100644 --- a/app/model/ThirdUser.php +++ b/app/model/ThirdUser.php @@ -17,7 +17,7 @@ class ThirdUser extends Model // 字段类型映射 protected $casts = [ - 'id' => 'int', +// 'id' => 'int', ]; // 与广告主模型的关联 diff --git a/config/thinkorm.php b/config/thinkorm.php index 9dc61c9..79b9357 100644 --- a/config/thinkorm.php +++ b/config/thinkorm.php @@ -57,7 +57,7 @@ return [ // 自定义分页类 'bootstrap' => '', // 'schema' => 'public'// 设置默认 schema - 'debug' => false, + 'debug' => true, // 'fields_strict' => false, ], ],