Commit 45932bd5 authored by liudong1993's avatar liudong1993

小程序阿里云上传调整

parent 00a51182
......@@ -29,6 +29,9 @@ namespace Mall.ThirdCore.Oss
/// <param name="bucketName"></param>
public AliOssService(string endpoint, string accessKeyId, string accessKeySecret, string bucketName)
{
if (!endpoint.Contains(".aliyuncs.com")) {
endpoint += ".aliyuncs.com";
}
this.endpoint = endpoint;
this.accessKeyId = accessKeyId;
this.accessKeySecret = accessKeySecret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment