Yii1 获取当前请求的url

echo Yii::app()->getRequest()->getUrl();
原文地址:https://www.cnblogs.com/ranwuer/p/7151018.html