You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| .. | ||
| LINGYUN/Abp/BlobStoring/Aliyun | 6 years ago | |
| LINGYUN.Abp.BlobStoring.Aliyun.csproj | 6 years ago | |
| README.md | 6 years ago | |
README.md
LINGYUN.Abp.BlobStoring.Aliyun
abp框架对象存储提供者IBlobProvider的阿里云实现
配置使用
模块按需引用,需要引用阿里云公共基础认证模块
事先定义appsettings.json文件
{
"Aliyun": {
"Auth": {
"AccessKeyId": "你的阿里云访问标识",
"AccessKeySecret": "你的阿里云访问密钥"
},
"OSS": {
"BucketName": "你定义的BucketName",
"Endpoint": "http://oss-cn-shanghai.aliyuncs.com",
"CreateBucketIfNotExists": true
}
}
}
[DependsOn(typeof(AbpBlobStoringAliyunModule))]
public class YouProjectModule : AbpModule
{
// other
}