mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
修复前端提交同名cookie时的框架错读现象
This commit is contained in:
@@ -131,6 +131,20 @@ public interface SaRequest {
|
||||
*/
|
||||
String getCookieValue(String name);
|
||||
|
||||
/**
|
||||
* 在 [ Cookie作用域 ] 里获取一个值 (第一个此名称的)
|
||||
* @param name 键
|
||||
* @return 值
|
||||
*/
|
||||
String getCookieFirstValue(String name);
|
||||
|
||||
/**
|
||||
* 在 [ Cookie作用域 ] 里获取一个值 (最后一个此名称的)
|
||||
* @param name 键
|
||||
* @return 值
|
||||
*/
|
||||
String getCookieLastValue(String name);
|
||||
|
||||
/**
|
||||
* 返回当前请求path (不包括上下文名称)
|
||||
* @return /
|
||||
|
||||
Reference in New Issue
Block a user