package com.gxwebsoft;

import com.gxwebsoft.common.core.security.JwtUtil;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * Created by WebSoft on 2020-03-23 23:37
 */
@SpringBootTest
public class TestMain {

  /**
   * 生成唯一的key用于jwt工具类
   */
  @Test
  public void testGenJwtKey() {
    System.out.println(JwtUtil.encodeKey(JwtUtil.randomKey()));
  }

}
