public function getPrizeDesc() { $arrPrize = $this->get_prize_date(); $arrCount = $arrPrize['count']; $arrCach = $arrPrize['cash']; $strDesc = ''; $i = 0; if (is_array($arrCount)) { foreach ($arrCount as $k => $v) { $i++; $strNum = keke_glob_class::num2ch($i); if ($this->_task_config['task_rate'] > 0) { $floatCash = $arrCach[$k] * (1 - $this->_task_config['task_rate'] / 100); } else { $floatCash = $arrCach[$k]; } $strDesc .= $strNum . '等奖' . $v . '名,中标奖励¥' . $floatCash . ' '; } } return $strDesc; }