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, );