diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index bd230be8..ac14c487 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((string)$value['create_time'])), + 'create_time' => date('Y-m-d H:i:s', $value['create_time']), 'user_version' => $value['user_version'], 'user_desc' => $value['user_desc'], 'id' => $value['draft_id'], @@ -324,7 +324,7 @@ class Server $template_list = $result['template_list']; foreach ($template_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', $value['create_time']), 'user_version' => $value['user_version'], 'user_desc' => $value['user_desc'], 'template_id' => $value['template_id'],