From 3ad65283c54059e0c61110589fb19398ac3525fe Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 08 七月 2025 08:32:32 +0800
Subject: [PATCH] 完善拣料转全板
---
src/main/java/com/zy/common/web/AuthController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/zy/common/web/AuthController.java b/src/main/java/com/zy/common/web/AuthController.java
index b4a55a8..9c2bffa 100644
--- a/src/main/java/com/zy/common/web/AuthController.java
+++ b/src/main/java/com/zy/common/web/AuthController.java
@@ -355,14 +355,14 @@
}
}
- @PostMapping(value = "/system/secret/auth")
+ @PostMapping(value = "/system/license/auth")
@ManagerAuth
- public R systemSecret(@RequestParam(value = "secret") String secret) {
- if (Cools.isEmpty(secret)) {
+ public R systemSecret(@RequestParam(value = "license") String license) {
+ if (Cools.isEmpty(license)) {
return R.error("璇疯緭鍏ユ縺娲荤爜");
}
// 楠岃瘉婵�娲荤爜
- String timeStr = AesUtils.decrypt(secret, SystemProperties.SALT);
+ String timeStr = AesUtils.decrypt(license, SystemProperties.SALT);
if (null == timeStr) {
return R.error("婵�娲荤爜閿欒");
}
@@ -370,7 +370,7 @@
if (new Date().getTime() >= exprTime.getTime()) {
return R.error("婵�娲荤爜宸插け鏁�");
}
- boolean result = SystemProperties.saveActivationCode(OSinfo.getOSname().getActivationCodePath(), secret);
+ boolean result = SystemProperties.saveActivationCode(OSinfo.getOSname().getActivationCodePath(), license);
if (!result) {
return R.error("婵�娲诲け璐�");
}
--
Gitblit v1.9.1