| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- aliyun-oss:
- endpoint: yourEndpoint
- access-key-id: yourAccessKeyId
- access-key-secret: yourAccessKeySecret
- bucket-name: yourBucketName
- bucket-url: yourBucketUrl
- base-path: yourBasePath
- aws-s3:
- bucket: xxxxx-10005608
- region: ap-shanghai
- endpoint: ""
- secret-id: your-secret-id
- secret-key: your-secret-key
- base-url: https://gin.vue.admin
- path-prefix: github.com/flipped-aurora/gin-vue-admin/server
- s3-force-path-style: false
- disable-ssl: false
- captcha:
- key-long: 6
- img-width: 240
- img-height: 80
- open-captcha: 0
- open-captcha-timeout: 3600
- cors:
- mode: allow-all
- whitelist:
- - allow-origin: example1.com
- allow-methods: POST, GET
- allow-headers: Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id
- expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
- allow-credentials: true
- - allow-origin: example2.com
- allow-methods: GET, POST
- allow-headers: content-type
- expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
- allow-credentials: true
- mqtt:
- enabled: true
- embed-broker: true
- broker-listen: ":1883"
- broker: tcp://127.0.0.1:1883
- advertised-host: "192.168.110.164"
- advertised-port: 1883
- # 内嵌 Broker 当前仅监听普通 TCP;启用外部 TLS Broker 时再改为 true
- tls-enabled: false
- client-id: smart-parking
- username: ""
- password: ""
- camera:
- conversion-mode: system
- # Windows paths: use forward slashes, or single quotes around backslashes.
- ffmpeg-path: D:/迅雷下载/ffmpeg-9.0.1-full_build/ffmpeg-9.0.1-full_build/bin/ffmpeg.exe
- mjpeg-fps: 8
- jpeg-quality: 5
- db-list:
- - type: ""
- alias-name: ""
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- disable: true
- email:
- to: xxx@qq.com
- from: xxx@163.com
- host: smtp.163.com
- secret: xxx
- nickname: test
- port: 465
- is-ssl: true
- excel:
- dir: ./resource/excel/
- hua-wei-obs:
- path: you-path
- bucket: you-bucket
- endpoint: you-endpoint
- access-key: you-access-key
- secret-key: you-secret-key
- jwt:
- signing-key: 23cb7052-8c96-4acf-9136-578347b2d4c8
- expires-time: 7d
- buffer-time: 1d
- issuer: qmPlus
- local:
- path: uploads/file
- store-path: uploads/file
- mongo:
- coll: ""
- options: ""
- database: ""
- username: ""
- password: ""
- auth-source: ""
- min-pool-size: 0
- max-pool-size: 100
- socket-timeout-ms: 0
- connect-timeout-ms: 0
- is-zap: false
- hosts:
- - host: ""
- port: ""
- mssql:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- mysql:
- prefix: ""
- port: "3306"
- config: charset=utf8mb4&parseTime=True&loc=Local
- db-name: lc_garage
- username: root
- password: root
- path: 127.0.0.1
- engine: ""
- log-mode: error
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- oracle:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- pgsql:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- qiniu:
- zone: ZoneHuaDong
- bucket: ""
- img-path: ""
- access-key: ""
- secret-key: ""
- use-https: false
- use-cdn-domains: false
- redis:
- addr: 127.0.0.1:6379
- password: ""
- db: 0
- useCluster: false
- clusterAddrs:
- - 172.21.0.3:7000
- - 172.21.0.4:7001
- - 172.21.0.2:7002
- sqlite:
- prefix: ""
- port: ""
- config: ""
- db-name: lc_garage
- username: ""
- password: ""
- # Fill a directory path, not the .db filename. Use D:/data or 'D:\\data'.
- path: ""
- engine: ""
- log-mode: error
- max-idle-conns: 1
- max-open-conns: 4
- singular: false
- log-zap: false
- system:
- db-type: sqlite
- oss-type: local
- router-prefix: ""
- addr: 8888
- iplimit-count: 15000
- iplimit-time: 3600
- use-multipoint: false
- use-redis: false
- use-mongo: false
- gate-simulator: false # 联调临时开启(验证自动开闸链路);生产环境必须关闭
- debug-routes: true # 联调期间开启(票机/通道/出口屏调试接口)
- # 单一通道(inout)方向推断最小停留分钟数:入场后不足该时长的重复读卡按忽略处理
- inout-min-stay-minutes: 1
- tencent-cos:
- bucket: xxxxx-10005608
- region: ap-shanghai
- secret-id: your-secret-id
- secret-key: your-secret-key
- base-url: https://gin.vue.admin
- path-prefix: github.com/flipped-aurora/gin-vue-admin/server
- zap:
- level: info
- prefix: '[github.com/flipped-aurora/gin-vue-admin/server]'
- format: console
- director: log
- encode-level: LowercaseColorLevelEncoder
- stacktrace-key: stacktrace
- max-age: 0
- show-line: true
- log-in-console: true
- # 出口自助终端(扫码支付出场,见 doc/扫码支付出场设计.md)
- exit-kiosk:
- # 默认支付渠道:wechat(凭据齐全并启用后)或 mock(联调模拟)
- channel: mock
- # 非空时出口屏接口需携带 X-Kiosk-Token 请求头
- token: ""
- # 订单未支付自动过期时间(分钟),过期后屏幕重新计费
- order-ttl-minutes: 5
- # 页面轮询触发渠道查单的最小间隔(秒)
- query-interval-seconds: 2
- # 服务端兜底查单定时任务间隔(秒)
- job-interval-seconds: 30
- # 微信支付 Native 扫码(APIv3)。enabled 且凭据齐全时出口自助支付走真实渠道。
- wechat-pay:
- enabled: false
- app-id: ""
- mch-id: ""
- serial-no: ""
- # 商户 API 证书私钥文件路径(apiclient_key.pem)
- private-key-path: ""
- api-v3-key: ""
- # 支付通知地址(预留挂点;当前以内网查单为主,见 docs/adr/0002)
- notify-url: ""
- currency: CNY
|