lumen返回网站base url

可以使用全局帮助函数url()

echo url(); //输出http://test.domain.com

原文地址:https://www.cnblogs.com/dongruiha/p/6927858.html