tlias管理系统-文件上传接口实现&OSS工具类抽取实现功能实现

This commit is contained in:
2025-10-13 11:12:18 +08:00
parent d7c03d3867
commit 08c75b8908
7 changed files with 224 additions and 1 deletions

View File

@@ -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);
}
}