init:删除无用配置
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user