image_servers.php 500 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * 描述.
  4. *
  5. * @author zhangjunbao <junbaoz1314@gmail.com>
  6. * @date 2020-05-23 09:38:14
  7. */
  8. return [
  9. // 当前服务器所用编号,必须是数字.
  10. 'upload_server_no' => env('IMAGE_SERVER_NO', '666'),
  11. 'servers' => [
  12. // 本地测试用
  13. '666' => [
  14. 'is_encode' => true, // 是否是加密.
  15. 'base_url' => 'http://view.upload.local.me', // 团队都本地用这个host解析这个域名,绑定到public目录
  16. ],
  17. ],
  18. ];