From 422f030eb11f04e1ff28dd0b0fefbecbf4e4af2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 19 Mar 2025 14:22:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B=E5=A4=84?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E5=85=BC=E5=AE=B9=E9=AB=98=E7=89=88=E6=9C=AC?= =?UTF-8?q?ThinkORM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/think-plugs-wechat/src/model/WechatAuto.php | 4 ++-- plugin/think-plugs-wechat/src/model/WechatKeys.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/think-plugs-wechat/src/model/WechatAuto.php b/plugin/think-plugs-wechat/src/model/WechatAuto.php index 555a80ed7..a053589fb 100644 --- a/plugin/think-plugs-wechat/src/model/WechatAuto.php +++ b/plugin/think-plugs-wechat/src/model/WechatAuto.php @@ -49,10 +49,10 @@ class WechatAuto extends Model { /** * 格式化创建时间 - * @param string $value + * @param mixed $value * @return string */ - public function getCreateAtAttr(string $value): string + public function getCreateAtAttr($value): string { return format_datetime($value); } diff --git a/plugin/think-plugs-wechat/src/model/WechatKeys.php b/plugin/think-plugs-wechat/src/model/WechatKeys.php index 00f450744..6a41d7738 100644 --- a/plugin/think-plugs-wechat/src/model/WechatKeys.php +++ b/plugin/think-plugs-wechat/src/model/WechatKeys.php @@ -49,10 +49,10 @@ class WechatKeys extends Model { /** * 格式化创建时间 - * @param string $value + * @param mixed $value * @return string */ - public function getCreateAtAttr(string $value): string + public function getCreateAtAttr($value): string { return format_datetime($value); }