摘要: OAuth2.0 Client Credentials 阅读全文
posted @ 2021-12-16 18:49 大海lhc 阅读(3251) 评论(0) 推荐(0)
摘要: 用户Ip地址,先取x_forwarded_for值,不为空则为用户IP,如果为空再取remote_ip的值 public String getIpAddr(HttpServletRequest request) { String ip = request.getHeader("x-forwarded 阅读全文
posted @ 2021-12-16 16:23 大海lhc 阅读(1536) 评论(0) 推荐(0)