Skip to content

Commit a5f11e8

Browse files
committed
feat:更新 DataEase 对接参数
1 parent 9e925cf commit a5f11e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/dataease_integration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@
5353
![示例](img/dataease/dataease_sqlbot.png)
5454

5555
!!! Tip ""
56-
进入到 DataEase 的安装目录下,找到 DataEase 的配置文件,默认路径为 /opt/dataease2.0/conf/application.yml。在配置文件中添加 " aes-key" 配置,取值为 SQLBot 添加高级应用的值。配置文件修改后大致如下:
56+
进入到 DataEase 的安装目录下,找到 DataEase 的配置文件,默认路径为 /opt/dataease2.0/conf/application.yml。在配置文件中添加 sqlbot 相关配置, 配置文件修改后大致如下:
5757

5858
```yml
5959
dataease:
6060
sqlbot:
61-
encrypt:ture
62-
aes-key: X5iK8pL2oR9tY3vB6nM1cZ7xW4sV8hG2
61+
encrypt:ture # 是否对敏感字段(host、user、password、database、schema)启用 AES-CBC-PKCS5Padding 加密
62+
aes-key: X5iK8pL2oR9tY3vB6nM1cZ7xW4sV8hG2 # 32 位 AES 密钥,encrypt=true 时生效,可自定义
63+
log: true # 是否打印 SQLBot 接口(/de2api/sqlbot/datasource)调用日志 info 级别
6364
```
6465

6566
若包含 Excel 数据源或 API 数据源,还需要修改 DataEase 的配置文件。在配置文件中添加 "ds-host" 配置,取值为 DataEase 服务器的 ip。配置文件修改后大致如下:

0 commit comments

Comments
 (0)