|
@ -10,6 +10,7 @@ import io.swagger.annotations.ApiOperation; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.nl.annotation.Log; |
|
|
import org.nl.annotation.Log; |
|
|
|
|
|
import org.nl.annotation.rest.AnonymousPostMapping; |
|
|
import org.nl.config.RsaProperties; |
|
|
import org.nl.config.RsaProperties; |
|
|
import org.nl.exception.BadRequestException; |
|
|
import org.nl.exception.BadRequestException; |
|
|
import org.nl.modules.security.config.bean.SecurityProperties; |
|
|
import org.nl.modules.security.config.bean.SecurityProperties; |
|
@ -55,7 +56,7 @@ public class HandLoginController { |
|
|
private final TokenProvider tokenProvider; |
|
|
private final TokenProvider tokenProvider; |
|
|
private final OnlineUserService onlineUserService; |
|
|
private final OnlineUserService onlineUserService; |
|
|
|
|
|
|
|
|
@PostMapping("/handlogin") |
|
|
@AnonymousPostMapping("/handlogin") |
|
|
@Log("手持登陆验证") |
|
|
@Log("手持登陆验证") |
|
|
@ApiOperation("手持登陆验证") |
|
|
@ApiOperation("手持登陆验证") |
|
|
public ResponseEntity<Object> handlogin(@RequestBody Map<String, String> whereJson, HttpServletRequest request) { |
|
|
public ResponseEntity<Object> handlogin(@RequestBody Map<String, String> whereJson, HttpServletRequest request) { |
|
|