1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * Author: luzheng.liu
- * Time: 2020/9/18 15:13
- */
- namespace app\common\model\bx;
- use think\Model;
- class BxModel extends Model {
- protected $connection = [
- // 数据库类型
- 'type' => 'mysql',
- // 服务器地址
- 'hostname' => '180.166.104.67',
- // 数据库名
- 'database' => 'smddTestCopy',
- // 用户名
- 'username' => 'member_org',
- // 密码
- 'password' => 'A06af7cDfa6b970ef0A9db915Fa5a237',
- // 端口
- 'hostport' => '5904',
- // 连接dsn
- 'charset' => 'utf8',
- 'debug' => true,
- 'resultset_type' => 'array'
- ];
- }
|