mirror of
https://github.com/thousmile/molly-multi-tenant.git
synced 2026-04-29 19:10:15 +00:00
合并,前端
This commit is contained in:
26
server/src/test/java/com/xaaef/molly/NoSpringTests.java
Normal file
26
server/src/test/java/com/xaaef/molly/NoSpringTests.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.xaaef.molly;
|
||||
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalTime;
|
||||
|
||||
|
||||
class NoSpringTests {
|
||||
|
||||
@Test
|
||||
public void test1() {
|
||||
boolean after = LocalDateTime.now().isAfter(LocalDateTime.of(LocalDate.of(2023, 12, 28), LocalTime.MAX));
|
||||
System.out.println(after);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void test3() {
|
||||
System.out.println(FileUtil.extName("https://images.xaaef.com/base/63b7df8b9e8581f5bff107e2.jpg"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user