工单系统初始化数据

This commit is contained in:
gxwebsoft
2023-11-06 17:33:45 +08:00
parent d9c375fc0d
commit f38791cd86
10 changed files with 75 additions and 22 deletions
+7 -2
View File
@@ -1,6 +1,5 @@
package com.gxwebsoft;
import com.gxwebsoft.common.core.security.JwtUtil;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@@ -14,6 +13,12 @@ public class TestMain {
*/
@Test
public void testGenJwtKey() {
System.out.println(JwtUtil.encodeKey(JwtUtil.randomKey()));
// System.out.println(JwtUtil.encodeKey(JwtUtil.randomKey()));
// final String encrypt = CommonUtil.encrypt("123");
// System.out.println("encrypt = " + encrypt);
//
// final String decrypt = CommonUtil.decrypt(encrypt);
// System.out.println("decrypt = " + decrypt);
}
}