|
@@ -145,6 +145,14 @@ public class LoginController {
|
|
|
return ResMsg.newInstance(CodeEnum.OK, jsonData);
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
+ try {
|
|
|
+ System.out.println("****");
|
|
|
+ System.out.println(RsaUtil.encrypt("123456",ApplicationConstant.PUBLIC_KEY));
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
/**
|
|
|
* 登出操作。同时将Session相关的信息从缓存中删除。
|
|
|
*
|