core.yaml 870 字节
Name: discuss
Host: 0.0.0.0
Port: 8081
Verbose: false
Migrate: false
Timeout: 30000
# CertFile: ./key/fjmaimaimai.com_bundle.crt
# KeyFile: ./key/fjmaimaimai.com.key
LogRequest: true # 记录详细请求日志

Log:
  Mode: file
  Encoding: plain
  Level: debug # info
  MaxSize: 1 # 2MB
  TimeFormat: 2006-01-02 15:04:05
  Rotation: size
  MaxContentLength: 10240

SystemAuth:
  AccessSecret: digital-platform
  AccessExpire: 360000

MiniAuth:
  AccessSecret: discuss-secret
  AccessExpire: 360000

Redis:
  Host: 192.168.0.243:6379
  Type: node
  Pass:
DB:
  DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-prd port=31544 sslmode=disable TimeZone=Asia/Shanghai

ApiAuth:
  Name: ApiAuth
  Host: https://digital-platform.sumifcc.com
  Timeout: 0s

Wechat:
  AppID: wxae5b305849343ec8
  AppSecret: f584adb68f7d784425b60e1ebb2ffd4b