ci中如何得到配置的url时间:2023-03-09 05:49:36 $this->load->helper('url'); 然后,你可以用它查询并返回设置在config.php文件中的site和/或base URL: echo site_url(); echo base_url();