Commit ffc0d07e authored by Quxl's avatar Quxl
parents a00db1a2 288720f8
...@@ -21,8 +21,8 @@ import com.egolm.common.HttpsUtil; ...@@ -21,8 +21,8 @@ import com.egolm.common.HttpsUtil;
import com.egolm.film.config.XRException; import com.egolm.film.config.XRException;
public class AliyunUtil { public class AliyunUtil {
private String accessKeyId = "";//"LTAIOtHCCpDLXYp8"; private String accessKeyId = "LTAIOtHCCpDLXYp8";
private String accessKeySecret = "";//"9XTHW7P9TTRvCsBHBSclOue2tdWOoa"; private String accessKeySecret = "9XTHW7P9TTRvCsBHBSclOue2tdWOoa";
private final DefaultAcsClient aliyunClient; private final DefaultAcsClient aliyunClient;
...@@ -33,6 +33,8 @@ public class AliyunUtil { ...@@ -33,6 +33,8 @@ public class AliyunUtil {
public AliyunUtil(String accessKeyId,String accessKeySecret) { public AliyunUtil(String accessKeyId,String accessKeySecret) {
this.accessKeyId = accessKeyId; this.accessKeyId = accessKeyId;
this.accessKeySecret = accessKeySecret; this.accessKeySecret = accessKeySecret;
System.out.println("accessKeyId----"+this.accessKeyId);
System.out.println("accessKeySecret----"+this.accessKeySecret);
this.aliyunClient = new DefaultAcsClient(DefaultProfile.getProfile("cn-shanghai", accessKeyId, accessKeySecret)); this.aliyunClient = new DefaultAcsClient(DefaultProfile.getProfile("cn-shanghai", accessKeyId, 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