plf 4 yıl önce
ebeveyn
işleme
9bdb8962e5

+ 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);