💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# sp_get_relative_url() > X1.0新增 ```php sp_get_relative_url($url) ``` 功能: 获取域名后的地址,如http://thinkcmf.com/news.html,转化后为/news.html 参数: `$url`:要转化的url 返回: 类型string; 域名后的地址,如http://thinkcmf.com/news.html,转化后为/news.html