Skip to content

Commit b55e6d7

Browse files
authored
1
1
1 parent 23a439a commit b55e6d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

passjava-thirdparty/src/test/java/com/jackson0714/passjava/thirdparty/PassjavaThirdpartyApplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ void testUploadByOss() throws FileNotFoundException {
2020
// Endpoint以杭州为例,其它Region请按实际情况填写。
2121
String endpoint = "http://oss-cn-beijing.aliyuncs.com";
2222
// 阿里云主账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维,请登录 https://ram.console.aliyun.com 创建RAM账号。
23-
String accessKeyId = "LTAI4G3KxBJ26EUbWsenmqhP";
24-
String accessKeySecret = "RHtADVlvlKJvVBQnFNNvnne9p4NwnA";
23+
String accessKeyId = "xxxx";
24+
String accessKeySecret = "xxxx";
2525
String bucketName = "passjava";
2626

2727
// <yourObjectName>上传文件到OSS时需要指定包含文件后缀在内的完整路径,例如abc/efg/123.jpg。

0 commit comments

Comments
 (0)