123456789101112131415161718192021 |
- <?php
- // +----------------------------------------------------------------------
- // | TdEngine 配置
- // +----------------------------------------------------------------------
- use think\facade\Env;
- return [
- // 服务器地址
- 'hostname' => Env::get('tdengine.hostname', '127.0.0.1'),
- // 数据库名
- 'database' => Env::get('tdengine.database', ''),
- // 用户名
- 'username' => Env::get('tdengine.username', 'root'),
- // 密码
- 'password' => Env::get('tdengine.password', 'taosdata'),
- // 端口
- 'hostport' => Env::get('tdengine.hostport', '6030'),
- // API 地址
- 'api_url' => Env::get('tdengine.api_url', ''),
- ];
|