Explorar o código

新增权限验证需求

kaick %!s(int64=2) %!d(string=hai) anos
pai
achega
4eb1c9cf3e

+ 16 - 0
src/test/java/com/caimei/www/service/page/ArticleServiceTest.java

@@ -0,0 +1,16 @@
+package com.caimei.www.service.page;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+
+import static org.junit.jupiter.api.Assertions.*;
+@SpringBootTest
+class ArticleServiceTest {
+    @Autowired
+    ArticleService articleService;
+    @Test
+    void getInfoById() {
+        System.out.println(articleService.getInfoById(6606).toString());
+    }
+}