{
  "ConnectionStrings": {
    "DefaultConnection": "server=192.168.20.150;port=13306;database=InteractiveMagazine;user=user;password=n68792bu!y99r905;charset=utf8mb4;"
  },
  "RedisSettings": {
    "ConnectionString": "192.168.20.150:16379,defaultDatabase=5",
    "Sentinels": [],
    "ExpireSecondRange": [ 3600, 7200 ]
  },
  "RabbitMq": {
    "HostName": "192.168.20.150",
    "Port": 5672,
    "UserName": "smartschool",
    "Password": "@ss%&*otz%d*pq2S",
    "VirtualHost": "InteractiveMagazine"
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Warning",
        "Hangfire": "Information"
      }
    },
    "WriteTo": [
      {
        "Name": "Console"
      },
      {
        "Name": "File",
        "Args": {
          "path": "logs/worker-log-.txt",
          "rollingInterval": "Day"
        }
      }
    ]
  },
  "HangfireJobs": {
    "_说明": "定时任务配置。新增任务只需在 Jobs 数组中追加一项。Cron格式：分 时 日 月 星期（5位）。常用：* * * * * 每分钟 | */5 * * * * 每5分钟 | 0 * * * * 每小时 | 0 9 * * * 每天9点 | 0 0 * * 1 每周一午夜",
    "Jobs": [
      {
        "Name": "sample-job",
        "JobType": "QYZH.InteractiveMagazine.WorkService.Jobs.SampleJob",
        "MethodName": "ExecuteAsync",
        "Cron": "* * * * *",
        "Enabled": false,
        "Description": "示例任务（默认关闭，仅用于验证框架运行）"
      }
    ]
  },
  "AiChat": {
    "ApiKey": "Ollama",
    "BaseUrl": "http://172.16.10.130:11434/v1/",
    "Model": "qwen2.5vl:7b",
    "TimeoutSeconds": 300,
    "MaxTokens": 2000,
    "Temperature": 0.5,
    "ScoreMaxRetryCount": 3,
    "ScoreRetryDelayMilliseconds": 1000,
    "MaxImageBytes": 10485760
  },
  "AllowedHosts": "*",
  "AliyunOSSConfigs": {
    "AccessKeyID": "LTAI5tEBXGewpHSLiSxyx6Bf",
    "AccessKeySecret": "w29b8wkw6XQVL8GWXgp3ZesgYeDKvf",
    "VodBucketName": "outin-5277bbb52bec11f08dbd00163e169e2b.oss-cn-beijing.aliyuncs.com",
    "BucketName": "qyzh2025test",
    "Region": "beijing",
    "RoleArn": "acs:ram::1064745380176636:role/aliyunosstokengeneratorrole",
    "DurationSeconds": 3600, //过期时间(秒)
    "Endpoint": "oss-cn-beijing.aliyuncs.com",
    "ProjectName": "InteractiveMagazine",
    "Domain": "http://oss-test.qyzhjy.com/"
  },
  "PrintConfig": {
    "TimeoutSeconds": 300,
    "DPrint": 0, //打印场景，0：普通激光打印机，1：工业印刷，默认为0（可选）
    "CallBackApiUrl": "http://localhost:8080/api/page/callbackupdatepageno", // 开发环境 打印成功回调API地址修改打印状态
    //"CallBackApiUrl": "http://192.168.20.150:8000/api/icr/page/callbackupdatepageno", // 测试环境 打印成功回调API地址修改打印状态
    //"CallBackApiUrl": "https://zyb.qyzhjy.com/zybback/api/icr/page/callbackupdatepageno", // 正式环境 打印成功回调API地址修改打印状态
    //这个ID执行的xml文件是：sublic_license_1761.172.8.16_1000.xml，如果想执行sublic_license_1761.211.21.48_10000.xml 换成 765837655859269 ---暂时没有导入页码 
    "DotId": 765837655859269
  }
}
