| | |
| | | import com.xcong.excoin.common.system.bean.LoginUserBean; |
| | | import com.xcong.excoin.common.system.dto.LoginDto; |
| | | import com.xcong.excoin.utils.RedisUtils; |
| | | import io.swagger.annotations.Api; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; |
| | |
| | | * @Version V1.0 |
| | | **/ |
| | | @Slf4j |
| | | @Api(value = "登陆类", tags = "登陆类") |
| | | @RestController |
| | | @RequestMapping(value = "/") |
| | | public class LoginController { |