1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- settings:
- application:
- # dev开发环境 test测试环境 prod线上环境
- mode: dev
- # 服务器ip,默认使用 0.0.0.0
- host: 0.0.0.0
- # 服务名称
- name: Medical_OAuth
- # 端口号
- port: 8000 # 服务端口号
- readtimeout: 1
- writertimeout: 2
- # 数据权限功能开关
- enabledp: true
- logger:
- # 日志存放路径
- path: temp/logs
- # 日志输出,file:文件,default:命令行,其他:命令行
- stdout: 'file' #控制台日志,启用后,不输出到文件
- # 日志等级, trace, debug, info, warn, error, fatal
- level: trace
- # 数据库日志开关
- enableddb: true
- jwt:
- # token 密钥,生产环境时及的修改
- secret: JA6WD#*SwAR7
- # token 过期时间 单位:秒
- timeout: 3600
- database:
- # 数据库类型 mysql
- driver: mysql
- # 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms
- # source: medical_erp:XMzTDthD4By3ArjG@tcp(192.168.11.77:3306)/medical_erp?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
- source: godown:wCHDXHL35kZGSD8r@tcp(127.0.0.1:40306)/godown?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
- # host: localhost:8080
- # host: 192.168.31.163:8080
- cache:
- redis:
- # addr: 192.168.11.77:6379
- addr: 127.0.0.1:43379
- password:
- db: 3
- # key存在即可
- memory: ''
- extend:
- # 服务发现服务信息
- service:
- id: 15
- number: "3EDJRaag"
- authCode: "3EDJRaagFTVVo2Ilo80nHJfLVN1OgN8d"
- name: "统一身份认证"
- subMail:
- appid: "97173"
- signature: "f639a60e41ee0554921d89884f5ff87e"
|