소스 검색

bug fixes

plf 4 년 전
부모
커밋
9bdb8962e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/caimei/www/service/page/impl/DocumentAuthServiceImpl.java

+ 1 - 1
src/main/java/com/caimei/www/service/page/impl/DocumentAuthServiceImpl.java

@@ -117,7 +117,7 @@ public class DocumentAuthServiceImpl implements DocumentAuthService {
             if (ossAuthorization != null) {
                 String cookie = new CookieBuilder().setKey("authorizationMobile")
                         .setValue(authorization.getMobile())
-                        .setMaxAge(60 * 60 * 24 * 30)
+                        .setMaxAge(60 * 60 * 24 * 30 * 1000L)
                         .setPath("/")
                         .build();
                 headers.add("Set-Cookie", cookie);