Controller.php
public function url($param = array())
    {
        return App::app()->url($this->id, $this->action, $param);
    }
public function url($param = array())
    {
        return App::app()->url($this->id, $this->action, $param);
    }
创建url