附件地址优化

feat/task1-c-wallet
gongfuxiang 2019-01-14 00:23:39 +08:00
parent 495e3920a0
commit 7e66774174
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ return [
// 前台顶部导航
'cache_common_home_nav_footer_key' => 'cache_common_home_nav_footer_data',
// 图片host, 数据库图片地址以/Public/...开头
'attachment_host' => defined('__MY_PUBLIC_URL__') ? substr(__MY_PUBLIC_URL__, 0, -1) : '',
// 附件host, 数据库图片地址以/static/...开头
'attachment_host' => defined('__MY_PUBLIC_URL__') ? substr(__MY_PUBLIC_URL__, 0, -1) : '',
// 开启U带域名
'url_domain_deploy' => true,