This commit is contained in:
tianshujie
2022-03-24 16:01:18 +08:00
parent ffcff9430c
commit 9f3f0bd8c6
4 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -193,13 +193,14 @@ class projectModel extends model
* @param string $status
* @param string $orderBy
* @param int $pager
* @param int $involved
* @access public
* @return array
*/
public function getInfoList($status = 'undone', $orderBy = 'order_desc', $pager = null)
public function getInfoList($status = 'undone', $orderBy = 'order_desc', $pager = null, $involved = 0)
{
/* Init vars. */
$projects = $this->loadModel('program')->getProjectList(0, $status, 0, $orderBy, $pager, 0, 1);
$projects = $this->loadModel('program')->getProjectList(0, $status, 0, $orderBy, $pager, 0, $involved);
if(empty($projects)) return array();
$projectIdList = array_keys($projects);