$type = Yii::app()->request->getParam('type');
if(isset($type) && trim($type) != "")
{
$star['type'] = $type;
}
$first_word = Yii::app()->request->getParam('first_word');
if(isset($first_word) && !empty($first_word))
{
$star['first_word'] = $first_word;
}
Yii中获取参数的方法
最新推荐文章于 2021-05-24 16:49:19 发布