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, ], ],