diff --git a/企业级管理系统/java/AdminSys/src/main/java/com/cpic/xim/web/controllers/account/P13AccountCheckController.java b/企业级管理系统/java/AdminSys/src/main/java/com/cpic/xim/web/controllers/account/P13AccountCheckController.java index 87360cb..fc61a3d 100644 --- a/企业级管理系统/java/AdminSys/src/main/java/com/cpic/xim/web/controllers/account/P13AccountCheckController.java +++ b/企业级管理系统/java/AdminSys/src/main/java/com/cpic/xim/web/controllers/account/P13AccountCheckController.java @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2022-12-15 11:11:21 * @LastEditors: Kane - * @LastEditTime: 2022-12-16 10:17:24 + * @LastEditTime: 2022-12-16 15:25:23 * @FilePath: \AdminSys\src\main\java\com\cpic\xim\web\controllers\account\P13AccountCheckController.java * @Description: P13账号验证用Controller。 * @@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.ResponseBody; @Controller @RequestMapping( path = "/account") +@SuppressWarnings( "unused") public class P13AccountCheckController { /***************************************************** diff --git a/企业级管理系统/java/AdminSys/src/main/webapp/account/LdapAccountCheckTest.java b/企业级管理系统/java/AdminSys/src/main/webapp/account/LdapAccountCheckTest.java deleted file mode 100644 index 4c10e4e..0000000 --- a/企业级管理系统/java/AdminSys/src/main/webapp/account/LdapAccountCheckTest.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * @Author: Kane - * @Date: 2022-12-16 11:26:35 - * @LastEditors: Kane - * @LastEditTime: 2022-12-16 11:29:07 - * @FilePath: \AdminSys\src\test\java\com\cpic\xim\myutils\account\LdapAccountCheckTest.java - * @Description: - * - * Copyright (c) ${2022} by Kane, All Rights Reserved. - */ -package com.cpic.xim.myutils.account; - -import org.junit.Test; - -public class LdapAccountCheckTest -{ - @Test - public void testLdapLogin() - { - String userName = "wangwei-202"; - String password = "Kane@1983"; - - boolean result = LdapAccountCheck.ldapLogin( userName, password ); - } -}