diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index 80213239..bd230be8 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -239,7 +239,7 @@ class Server $draft_list = $result['draft_list']; foreach ($draft_list as $value) { $list[] = [ - 'create_time' => date('Y-m-d H:i:s', strtotime($value['create_time'])), + 'create_time' => date('Y-m-d H:i:s', strtotime((string)$value['create_time'])), 'user_version' => $value['user_version'], 'user_desc' => $value['user_desc'], 'id' => $value['draft_id'],