1. 重构AI聊天接口与实现为流式返回,支持SSE协议 2. 修正BaseRepository的数据库上下文初始化逻辑 3. 更新AutoDotCodeConsumer的OOS存储路径 4. 新增阿里云OSS配置项到appsettings 5. 优化AiChatService的日志与代码注释
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
||
"ConnectionStrings": {
|
||
"DefaultConnection": "server=192.168.20.150;port=13306;database=InteractiveMagazine;user=user;password=n68792bu!y99r905;charset=utf8mb4;"
|
||
},
|
||
"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": "示例任务(默认关闭,仅用于验证框架运行)"
|
||
}
|
||
]
|
||
},
|
||
"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": "https://oss.test.qyzhjy.com/"
|
||
}
|
||
}
|