From 38f29e38fcc668171dc05c53d40a36b895c86102 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 10 十月 2024 13:34:28 +0800 Subject: [PATCH] init --- ruoyi-system/src/main/java/com/ruoyi/authorize/service/AuthorizeServiceImpl.java | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/authorize/service/AuthorizeServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/authorize/service/AuthorizeServiceImpl.java index ace1807..653aa26 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/authorize/service/AuthorizeServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/authorize/service/AuthorizeServiceImpl.java @@ -95,6 +95,11 @@ return null; } + /** + * 楠岃瘉鎺堟潈 + * + * @return JSONObject + */ @Override public JSONObject verifyAuthorization() { try { @@ -145,6 +150,11 @@ } } + /** + * 鍒朵綔涓存椂鎺堟潈 + * + * @return JSONObject + */ @Override public JSONObject makeTempLicense() { String savedDir = System.getProperty("user.dir") + "\\ardLicense"; @@ -155,6 +165,11 @@ return data; } + /** + * 鑾峰彇鏈哄櫒鐮� + * + * @return JSONObject + */ @Override public JSONObject getMachineCode() { try { @@ -171,6 +186,11 @@ } } + /** + * 涓婁紶鎺堟潈鏂囦欢 + * + * @return JSONObject + */ @Override public JSONObject uploadLicense(MultipartFile file) { try { @@ -196,8 +216,13 @@ } } + /** + * 鍔犲瘑鎺堟潈鏁版嵁 + * + * @return JSONObject + */ @Override - public String getLicense(String data) { + public String encryption(String data) { String codeString = ""; try { if (data != "") { @@ -216,8 +241,13 @@ } } + /** + * 瑙e瘑鎺堟潈鏁版嵁 + * + * @return JSONObject + */ @Override - public String parsLicense(String data) { + public String decryption(String data) { String codeString = ""; try { if (data != "") { -- Gitblit v1.9.3