Commit 79a3f0ec authored by Quxl's avatar Quxl

xx

parent ed18e8f7
...@@ -123,7 +123,6 @@ public class MemberOpenApiController { ...@@ -123,7 +123,6 @@ public class MemberOpenApiController {
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "String", required = true, name = "i18n_language", defaultValue="zh_CN")}) @ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "String", required = true, name = "i18n_language", defaultValue="zh_CN")})
public Object setLocale(HttpServletResponse response, String i18n_language) { public Object setLocale(HttpServletResponse response, String i18n_language) {
Cookie cookie = new Cookie(LocaleCookieInterceptor.language, i18n_language); Cookie cookie = new Cookie(LocaleCookieInterceptor.language, i18n_language);
cookie.setHttpOnly(true);
cookie.setMaxAge(3600000); cookie.setMaxAge(3600000);
cookie.setPath("/"); cookie.setPath("/");
response.addCookie(cookie); response.addCookie(cookie);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment