mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
修改QQ群链接
This commit is contained in:
@@ -19,6 +19,18 @@ public interface SaResponse {
|
||||
*/
|
||||
public void deleteCookie(String name);
|
||||
|
||||
/**
|
||||
* 写入指定Cookie
|
||||
* @param name Cookie名称
|
||||
* @param value Cookie值
|
||||
* @param path Cookie路径
|
||||
* @param domain Cookie的作用域
|
||||
* @param timeout 过期时间 (秒)
|
||||
*/
|
||||
public default void addCookie(String name, String value, String path, String domain, int timeout) {
|
||||
this.addCookie(name, value, path, domain, timeout, false, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* 写入指定Cookie
|
||||
* @param name Cookie名称
|
||||
|
||||
Reference in New Issue
Block a user