ソースを参照

增加了类生成

yaoyi 2 週間 前
コミット
8a5dee7b9a
2 ファイル変更19 行追加12 行削除
  1. 13 0
      src/test/java/Test1.java
  2. 6 12
      src/test/resources/bootstrap.yml

+ 13 - 0
src/test/java/Test1.java

@@ -0,0 +1,13 @@
+
+import com.hr.InterfacePlatformApplication;
+import com.hr.generate.generateClass;
+import org.springframework.boot.test.context.SpringBootTest;
+
+
+/***
+ * 生成类
+ */
+@SpringBootTest(classes = InterfacePlatformApplication.class)
+public class Test1 extends generateClass {
+
+}

+ 6 - 12
src/test/resources/bootstrap.yml

@@ -1,13 +1,3 @@
-jasypt:
-  encryptor:
-    algorithm: PBEWITHHMACSHA512ANDAES_256
-    iv-generator-classname: org.jasypt.iv.RandomIvGenerator
-    password: fgyuajrdyujr6ydhserghj7tthse446y # 这里的秘钥一般不会写在配置文件中,为了方便理解暂时放在这里
-    property:
-      prefix: ENC(
-      suffix: )
-
-# Tomcat
 server:
   port: 9700
 # Spring
@@ -17,5 +7,9 @@ spring:
     active: dev
   application:
     # 应用名称
-    name: demo1
-    key: enc(1YBUry4rvr7Py2FSroVJPQ==)
+    name: InterfacePlatform
+
+  cloud:
+    nacos:
+      config:
+        namespace: Auth