array('stat'=>'0', 'name'=>'正常hold单'), '1' => array('stat'=>'1', 'name'=>'hold单时间16天'), ); /** * hold单状态列表 * * @return array */ public function getHoldStatus() { $tempList = self::$hold_status; //format $typeList = []; foreach ($tempList as $type_id => $typeVal) { $typeList[$type_id] = $typeVal['name']; } return $typeList; } }