配置服务 config
2018-11-27 16:04 更新
目前config 服务仅提供获取配置的操作
config::get('x');
//获取多维数组下的配置
config::get('x.s.o');
//获取其他文件配置 列如 cache
config::get('','cache');
//返回 config/cache.php 所有内容。
以上内容是否对您有帮助:
目前config 服务仅提供获取配置的操作
config::get('x');
//获取多维数组下的配置
config::get('x.s.o');
//获取其他文件配置 列如 cache
config::get('','cache');
//返回 config/cache.php 所有内容。
更多建议: