From 381531f49eb4c6de94b9ef5b6cd5a030074a1de4 Mon Sep 17 00:00:00 2001 From: toogee Date: Sun, 31 Jan 2021 11:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E4=B8=AD=E9=97=B4=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- app/index/lang/en-us.php | 1 + app/index/lang/zh-tw.php | 1 + app/middleware/Message.php | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 22c2aec..e928443 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # TaoLer - 版本:TaoLer 1.6.4 - 日期:2020.12.09 + 版本:TaoLer 1.6.6 + 日期:2021.1.30 官网:http://www.aieok.com 测试:http://adm.aieok.com 账号test 密码test123 diff --git a/app/index/lang/en-us.php b/app/index/lang/en-us.php index 1079258..dfce03f 100644 --- a/app/index/lang/en-us.php +++ b/app/index/lang/en-us.php @@ -122,4 +122,5 @@ return [ 'in' => 'in', 'accumulate points' => 'Accumulate points', 'my post' => 'My post', + 'my auth' => 'My authorize' ]; \ No newline at end of file diff --git a/app/index/lang/zh-tw.php b/app/index/lang/zh-tw.php index 7f99124..f587343 100644 --- a/app/index/lang/zh-tw.php +++ b/app/index/lang/zh-tw.php @@ -123,6 +123,7 @@ return [ 'in' => '在', 'accumulate points' => '積分', 'my post' => '我的帖子', + 'my auth' => '我的授权' ]; \ No newline at end of file diff --git a/app/middleware/Message.php b/app/middleware/Message.php index 527c2e0..dc00fd4 100644 --- a/app/middleware/Message.php +++ b/app/middleware/Message.php @@ -20,7 +20,7 @@ class Message $response = $next($request); if(session('user_id')){ - MessageIns::insertMsg(session('user_id')); + MessageIns::insertMsg((int)session('user_id')); } return $response; }