From 2200545033b5ac2d780d24c5c087ed9e37c3dc10 Mon Sep 17 00:00:00 2001 From: jianglong <974886602@qq.com> Date: Mon, 9 May 2022 19:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE.txt | 2 +- README.md | 2 +- app/api/model/Message.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 73cec54..574a39c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -1 + ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) All rights reserved。 diff --git a/README.md b/README.md index 4a8c2fc..7661c30 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ThinkPHP 6.0 * 模板引擎分离出核心 * 内部功能中间件化 * SESSION/Cookie机制改进 -* 对Swoole以及协程支持改进 +* 对Swoole以及协程支持改进 * 对IDE更加友好 * 统一和精简大量用法 diff --git a/app/api/model/Message.php b/app/api/model/Message.php index 6048b35..bb53c0f 100644 --- a/app/api/model/Message.php +++ b/app/api/model/Message.php @@ -187,7 +187,7 @@ class Message extends Common } //获取用户最近一份公告的时间 $last_gg = $this->withTrashed()->where('receve_id',$uid)->where('type',1)->order('create_time desc')->find(); - + $start_time = 0; if($last_gg){ $last_gg = $last_gg->toArray(); $start_time = strtotime($last_gg['create_time']);