阿里云配置

This commit is contained in:
马梓彭 2026-03-20 10:45:14 +08:00
parent 05ddb437e1
commit 2d4e2c3c60

View File

@ -82,13 +82,13 @@
"OssConnection": { "OssConnection": {
"Enable": false, //是否启用对象存储(不启用将存储至站点目录) "Enable": false, //是否启用对象存储(不启用将存储至站点目录)
"Provider": "Minio", //OSS提供者;允许值:Minio/Aliyun/QCloud/Qiniu/HuaweiCloud/(Invalid:代表附件存储到当前站点下) "Provider": "Minio", //OSS提供者;允许值:Minio/Aliyun/QCloud/Qiniu/HuaweiCloud/(Invalid:代表附件存储到当前站点下)
"Endpoint": "192.168.1.123:9000", //节点 "Endpoint": "skip81.oss-cn-shanghai.aliyuncs.com", //节点
"AccessKey": "test", //Key "AccessKey": "LTAI5tLfbdZwBoA9bCZVjZkF", //Key
"SecretKey": "12324565", //秘钥 "SecretKey": "4DmFIY77zwdp1gaRUTmBMf7WfdsNsC", //秘钥
//"Region": "ap-chengdu",//地域 //"Region": "ap-chengdu",//地域
"IsEnableHttps": false, //是否启用HTTPS "IsEnableHttps": false, //是否启用HTTPS
"IsEnableCache": true, //是否启用缓存(启用后将缓存签名URL,以减少请求次数) "IsEnableCache": true, //是否启用缓存(启用后将缓存签名URL,以减少请求次数)
"Bucket": "oss", //默认存储根目录 "Bucket": "skip81", //默认存储根目录: null,
"Domain": "https://oss.okay123.top" //外网访问域名或IP "Domain": "https://oss.okay123.top" //外网访问域名或IP
}, },
// 接入第三方授权登录 文档:https://github.com/mrhuo/MrHuo.OAuth // 接入第三方授权登录 文档:https://github.com/mrhuo/MrHuo.OAuth
@ -147,16 +147,16 @@
}, },
// 阿里云短信配置 // 阿里云短信配置
"ALiYunSMS": { "ALiYunSMS": {
"AccessKeyId": "LTAI5tPMqz7kp2QUfz2Eb8L2", "AccessKeyId": "LTAI5tLfbdZwBoA9bCZVjZkF",
"AccessKeySecret": "your_access_key_secret", "AccessKeySecret": "4DmFIY77zwdp1gaRUTmBMf7WfdsNsC",
"Endpoint": "dysmsapi.aliyuncs.com", "Endpoint": "dysmsapi.aliyuncs.com",
"Sign": "上海市跳绳协会", "Sign": "上海市跳绳协会",
"Template": "SMS_254100608" "Template": "SMS_254100608"
}, },
// 阿里云ORC识别 // 阿里云ORC识别
"AliyunOCR": { "AliyunOCR": {
"AccessKeyId": "AccessKeyId", "AccessKeyId": "LTAI5tLfbdZwBoA9bCZVjZkF",
"AccessKeySecret": "AccessKeySecret", "AccessKeySecret": "4DmFIY77zwdp1gaRUTmBMf7WfdsNsC",
"Endpoint": "ocr.cn-shanghai.aliyuncs.com" "Endpoint": "ocr.cn-shanghai.aliyuncs.com"
} }
} }