switch ($funPattern) { case $arrFunPattern["proTitle"]: //产品标题 $strCirResult = $fun->cirProTitle($arrRPProTitle, $arrFunSP); $strCombitResult = $fun->combitStrToStr($arrSPONOFF, $arrFunSP, $strCirResult, $arrRPProTitle); filterEcho($strCombitResult); break; case $arrFunPattern['video']: //视频 $strCirResult = $fun->cirVideo($arrRPVedioUrl, $arrFunSP); $strCombitResult = $fun->combitStrToStr($arrSPONOFF, $arrFunSP, $strCirResult, $arrRPVedioUrl); filterEcho($strCombitResult); break; case $arrFunPattern["proPicSrc"]: //产品图片 $strCirResult = $fun->cirProPic($arrRPProPic, $arrFunSP); $strCombitResult = $fun->combitStrToStr($arrSPONOFF, $arrFunSP, $strCirResult, $arrRPProPic); filterEcho($strCombitResult); break; case $arrFunPattern["banner"]: //海报图 $strCirResult = $fun->cirBanner($arrRPBanner, $arrFunSP); $strCombitResult = $fun->combitStrToStr($arrSPONOFF, $arrFunSP, $strCirResult, $arrRPBanner); filterEcho($strCombitResult); break; case $arrFunPattern["samePara11"]: //共同参数1行1列 $strCirResult = $fun->cirSamePara11($arrRPSamePara, $arrFunSP); $strCombitResult = $fun->combitStrToStr($arrSPONOFF, $arrFunSP, $strCirResult, $arrRPSamePara); filterEcho($strCombitResult); break;