* [ ] 设置Cookie ``` Cookie::set($Key, $Value = null, $MaxAge = 0, $Path = '', $Domain = '', $Secure = false, $Only = false); ``` Key(string|array):cookie名称 Value(string....):cookie值 MaxAge(int):过期时间 Path(string):有效的服务器路径 Domain(string):有效域名/子域名 Secure(bool):是否仅仅通过HTTPS Only(bool):仅可通过HTTP访问 ***** ``` //单个设置(有效10秒) Cookie::set('token','123456',10); ``` ``` //多个设置 Cookie::set([['token','123456',10],['userid','8',30]]); ```