From 87fb58436331553c3fb7ccc8b6b5aedf15038dd0 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 20 Sep 2023 09:18:59 +0800 Subject: [PATCH] * Modify the permissions of a function. --- module/program/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/program/model.php b/module/program/model.php index 3ebe8eac26..ab42ad95cc 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -1521,11 +1521,11 @@ class programModel extends model * 通过项目集ID列表批量获取项目集基本数据。 * Get program base data with program ID array. * - * @param array $programIdList - * @access protected + * @param array $programIdList + * @access public * @return array */ - protected function getBaseDataList(array $programIdList): array + public function getBaseDataList(array $programIdList): array { return $this->dao->select('id,name,PM,path,parent,type') ->from(TABLE_PROGRAM)