mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
单点登录:CAS模式
This commit is contained in:
@@ -73,6 +73,14 @@ public class SaRequestForServlet implements SaRequest {
|
||||
return request.getServletPath();
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回当前请求的url,例:http://xxx.com/?id=127
|
||||
* @return see note
|
||||
*/
|
||||
public String getUrl() {
|
||||
return request.getRequestURL().toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回当前请求的类型
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user