From e4c61b1979bfc3cdc6cd4ce4222f0e9647db7b7e Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 7 Nov 2023 15:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=A1=E6=89=B9=E5=BA=94?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/HomeIndex.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/controller/HomeIndex.php b/app/api/controller/HomeIndex.php index 2abf392..0696b45 100644 --- a/app/api/controller/HomeIndex.php +++ b/app/api/controller/HomeIndex.php @@ -47,7 +47,7 @@ class HomeIndex extends ApiController $invoiceCount = Db::name('Invoice')->where([['', 'exp', Db::raw("FIND_IN_SET('{$this->uid}',check_admin_ids)")],['delete_time', '=', 0]])->count(); $total[] = array( - 'name' => '公告', + 'name' => '公司公告', 'type' => 'note', 'num' => $noteCount, ); @@ -75,13 +75,13 @@ class HomeIndex extends ApiController $whereProject[] = ['id', 'in', $project_ids]; $projectCount = Db::name('Project')->where($whereProject)->fetchSql(false)->count(); $total[] = array( - 'name' => '项目', + 'name' => '项我的目', 'type' => 'project', 'num' => $projectCount, ); $taskCount = Db::name('ProjectTask')->where([['director_uid', '=', $this->uid],['flow_status', '<', 3],['delete_time', '=', 0]])->count(); $total[] = array( - 'name' => '任务', + 'name' => '我的任务', 'type' => 'task', 'num' => $taskCount, ); @@ -89,7 +89,7 @@ class HomeIndex extends ApiController if (in_array('article', $module)) { $articleCount = Db::name('Article')->where([['delete_time', '=', 0],['uid', '=', $this->uid]])->count(); $total[] = array( - 'name' => '文章', + 'name' => '我的文章', 'type' => 'article', 'num' => $articleCount, );