45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"Default": "server=116.198.221.105;port=3306;database=F8Web;user=f8web;password=r^P%eGC2e2;charset=utf8mb4;SslMode=None;AllowPublicKeyRetrieval=True"
|
|
},
|
|
"MySql": {
|
|
"Major": 8,
|
|
"Minor": 0,
|
|
"Build": 36
|
|
},
|
|
"Jwt": {
|
|
"Key": "AgriculturalPlatform-Jwt-Secret-Key-Change-Me-In-Production-2026",
|
|
"Issuer": "AgriculturalPlatform",
|
|
"Audience": "AgriculturalPlatform.Client"
|
|
},
|
|
"FrontendUrl": "http://localhost:9000",
|
|
"Server": {
|
|
"LanPort": 9002
|
|
},
|
|
"Storage": {
|
|
"UseOss": true
|
|
},
|
|
"Oss": {
|
|
"AccessKeyId": "LTAI5tSnK8HCPruXm3ZCRZDQ",
|
|
"AccessKeySecret": "lHcL75fV809SJYZ3IJtMWlPM7qYUXK",
|
|
"Endpoint": "oss-cn-chengdu.aliyuncs.com",
|
|
"StsEndpoint": "sts.cn-chengdu.aliyuncs.com",
|
|
"Bucket": "bbit-f8-web",
|
|
"PublicUrl": ""
|
|
},
|
|
"Ocr": {
|
|
"Provider": "aliyun",
|
|
"Url": "https://swcardpack.market.alicloudapi.com/ocr/idcard",
|
|
"AppCode": "e3bdae1a73d2415492e7fdc024f07d08",
|
|
"MaxBytes": 4194304,
|
|
"DisabledMessage": "未配置 OCR 识别服务(待接入阿里云/百度 OCR 凭证),图片已保存为附件,识别字段请手动填写"
|
|
}
|
|
}
|