tlias管理系统-文件上传接口实现&OSS工具类抽取实现功能实现
This commit is contained in:
@@ -3,6 +3,8 @@ package com.inmind;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@SpringBootTest
|
||||
class TliasWebManagementApplicationTests {
|
||||
|
||||
@@ -10,4 +12,18 @@ class TliasWebManagementApplicationTests {
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
@Test
|
||||
void testUuid(){
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
System.out.println(uuid);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void testOss(){
|
||||
String ossAccessKeyId = System.getenv("OSS_ACCESS_KEY_ID");
|
||||
System.out.println(ossAccessKeyId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user