init:删除无用配置

This commit is contained in:
zhangzq
2025-06-25 17:22:19 +08:00
parent a39ac4e6f3
commit cc3376f60d
7 changed files with 44 additions and 23 deletions

View File

@@ -10,6 +10,7 @@ import com.wf.captcha.base.Captcha;
import lombok.extern.slf4j.Slf4j;
import org.nl.common.logging.annotation.Log;
import org.nl.common.utils.RedisUtils;
import org.nl.common.utils.SecurityUtils;
import org.nl.common.utils.dto.CurrentUser;
@@ -45,6 +46,7 @@ public class AuthorizationController {
@PostMapping(value = "/login")
@Log
public ResponseEntity<Object> login(@RequestBody JSONObject authMap, HttpServletRequest request) throws Exception {
if (ObjectUtil.isEmpty(authMap)){
return ResponseEntity.noContent().build();