工单系统初始化数据
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user