123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- aliyun-oss:
- endpoint: yourEndpoint
- access-key-id: yourAccessKeyId
- access-key-secret: yourAccessKeySecret
- bucket-name: yourBucketName
- bucket-url: yourBucketUrl
- base-path: yourBasePath
- autocode:
- server-model: /model/%s
- server-router: /router/%s
- server: /server
- server-api: /api/v1/%s
- server-plug: /plugin/%s
- server-initialize: /initialize
- root: E:\GoWorks\src\lc_finance
- web-table: /view
- web: /web/src
- server-service: /service/%s
- server-request: /model/%s/request/
- web-api: /api
- web-form: /view
- transfer-restart: true
- 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: 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: strict-whitelist
- 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
- 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/dept
- store-path: uploads/dept
- 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_veterans
- username: root
- password: 123456
- 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:
- db: 1
- addr: 127.0.0.1:6379
- password:
- sqlite:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
- system:
- db-type: mysql
- oss-type: local
- router-prefix: ""
- addr: 8888
- iplimit-count: 15000
- iplimit-time: 3600
- use-multipoint: false
- use-redis: true
- use-mongo: false
- 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: server
- zap:
- level: info
- prefix: '[server]'
- format: console
- director: log
- encode-level: LowercaseColorLevelEncoder
- stacktrace-key: stacktrace
- max-age: 0
- show-line: true
- log-in-console: true
|