hwh
2025-02-10 b16c4927b99063f463f83f855c53fb0af8440072
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "Upload": {
    "Path": "upload/{yyyy}/{MM}/{dd}", // 文件上传目录
    "MaxSize": 51200, // 文件最大限制KB:1024*50
    "ContentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "video/mp4", "application/wps-office.docx", "application/wps-office.xlsx", "application/wps-office.pptx", "application/vnd.android.package-archive" ],
    "EnableMd5": false // 启用文件MDF5验证-防止重复上传
  },
  "OSSProvider": {
    "IsEnable": false,
    "Provider": "Minio", // OSS提供者 Invalid/Minio/Aliyun/QCloud/Qiniu/HuaweiCloud
    "Endpoint": "xxx.xxx.xxx.xxx:8090", // 节点/API地址(在腾讯云OSS中表示AppId)
    "Region": "xxx.xxx.xxx.xxx", // 地域
    "AccessKey": "",
    "SecretKey": "",
    "IsEnableHttps": false, // 是否启用HTTPS
    "IsEnableCache": true, // 是否启用缓存
    "Bucket": "admin.net"
  },
  "SSHProvider": {
    "IsEnable": false,
    "Host": "127.0.0.1",
    "Port": 8222,
    "Username": "sshuser",
    "Password": "Password.1"
  }
}