{
  "ConnectionStrings": {
    "DefaultConnection": "Server=192.168.195.15;uid=sa;pwd=Dbt@com@123;Database=honey_box;MultipleActiveResultSets=true;pooling=true;min pool size=5;max pool size=32767;connect timeout=20;Encrypt=True;TrustServerCertificate=True;",
    "Redis": "192.168.195.15:6379,abortConnect=false,connectTimeout=5000"
  },
  "AppSettings": {
    "IsTestEnvironment": true
  },
  "WechatPaySettings": {
    "DefaultMerchant": {
      "Name": "默认商户",
      "MchId": "",
      "AppId": "",
      "Key": "",
      "OrderPrefix": "MYH",
      "Weight": 1,
      "NotifyUrl": ""
    },
    "Merchants": [],
    "Miniprograms": [],
    "UnifiedOrderUrl": "https://api.mch.weixin.qq.com/pay/unifiedorder",
    "ShippingNotifyUrl": "https://api.weixin.qq.com/wxa/sec/order/upload_shipping_info",
    "NotifyBaseUrl": "https://api.zfunbox.cn"
  },
  "AmapSettings": {
    "ApiKey": "6a46ad822120e393956e89d498e8c40b"
  },
  "JwtSettings": {
    "Secret": "your-secret-key-must-be-at-least-32-characters-long-for-hs256",
    "Issuer": "HoneyBox",
    "Audience": "HoneyBoxUsers",
    "ExpirationMinutes": 1440,
    "RefreshTokenExpirationDays": 7
  },
  "Serilog": {
    "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.EntityFrameworkCore": "Warning",
        "System": "Warning"
      }
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
        }
      },
      {
        "Name": "File",
        "Args": {
          "path": "logs/log-.txt",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 30,
          "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
        }
      }
    ],
    "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ]
  },
  "AllowedHosts": "*"
}
