From c9156f27c386248b5c44afbb4adf368e21e732f6 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期六, 26 十一月 2022 14:39:50 +0800
Subject: [PATCH] #feat 修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/test/java/com/panzhihua/service_community/ServiceCommunityApplicationTests.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/test/java/com/panzhihua/service_community/ServiceCommunityApplicationTests.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/test/java/com/panzhihua/service_community/ServiceCommunityApplicationTests.java
new file mode 100644
index 0000000..f89d88b
--- /dev/null
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/test/java/com/panzhihua/service_community/ServiceCommunityApplicationTests.java
@@ -0,0 +1,27 @@
+package com.panzhihua.service_community;
+
+import com.panzhihua.common.utlis.DateUtils;
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+import lombok.extern.slf4j.Slf4j;
+
+import java.util.Date;
+
+@Slf4j
+@SpringBootTest
+class ServiceCommunityApplicationTests {
+
+ @Test
+ void contextLoads() {
+ log.info("test");
+ }
+
+ @Test
+ void test() {
+ log.info(String.valueOf(DateUtils.getYear(new Date())));
+ log.info(String.valueOf(DateUtils.getMonth(new Date())));
+ log.info(String.valueOf(DateUtils.getYear(new Date())) + 0 + DateUtils.getMonth(new Date()));
+ }
+
+}
--
Gitblit v1.7.1