Commit 7dc4b9e705c65f5a63bbea6de7bb85b8b916ab56
1 parent
32e95bd1
添加激活码校验开关
Signed-off-by: TanYibin <5491541@qq.com>
Showing
2 changed files
with
8 additions
and
1 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/system/controller/LoginController.java
... | ... | @@ -229,6 +229,10 @@ public class LoginController { |
229 | 229 | |
230 | 230 | private Result<JSONObject> checkSystemActivationCode() throws IOException { |
231 | 231 | Result<JSONObject> result = new Result<JSONObject>(); |
232 | + // 是否需要校验激活码 | |
233 | + if(applicationConfig.getCheckSystemActivationCode() != null && !applicationConfig.getCheckSystemActivationCode()) { | |
234 | + return result; | |
235 | + } | |
232 | 236 | FileInputStream inputStream = null; |
233 | 237 | FileOutputStream outputStream = null; |
234 | 238 | File file = null; |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/utils/config/ApplicationConfig.java