Files
CJCIM_SYS/config.yml
❀ » Cato Sweeney. ❀ » Console@the.bb 560bde5b44 *
2025-12-03 14:37:32 +08:00

54 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
app:
name: xMagic
version: 1.0.0
server:
port: 7788
cors: true
# 接口限流
rate:
enable: true
rate-num: 100
db-type: mysql
excel-dir: ./resource/excel/
tls:
enable: true
key-file: /www/server/panel/vhost/ssl/r.l-l.cn/privkey.pem
cert-file: /www/server/panel/vhost/ssl/r.l-l.cn/fullchain.pem
jwt:
key: xMagic
# 过期时间单位秒 7天
expire-time: 604800
mysql:
host: sh-cynosdbmysql-grp-l1s8n3g4.sql.tencentcdb.com:28799
username: root
password: "LMxeon5x"
db-name: tita
config: charset=utf8&loc=Local&parseTime=true
postgresql:
username: postgres
password: 123456
host: 127.0.0.1
port: 5432
db-name: pandax_iot
max-idle-conns: 10
max-open-conns: 10
casbin:
model-path: "./rbac_model.conf"
gen:
# 代码生成读取的数据库名称
dbname: x_magic
# 代码生成是使用前端代码存放位置需要指定到src文件夹相对路径
frontpath: ../PandaUi/src
log:
# 日志等级, trace, debug, info, warn, error, fatal
level: info
# file:
# path: ./
# name: panda_log.log