Ver Fonte

代码优化

woody há 1 ano atrás
pai
commit
72e401c373

+ 5 - 5
framework-sms/src/main/java/com/chelvc/framework/sms/SmsSession.java

@@ -22,11 +22,6 @@ import lombok.ToString;
 @NoArgsConstructor
 @AllArgsConstructor
 public class SmsSession implements Serializable {
-    /**
-     * 时间戳
-     */
-    private final Long timestamp = System.currentTimeMillis();
-
     /**
      * 会话标识
      */
@@ -36,4 +31,9 @@ public class SmsSession implements Serializable {
      * 会话过期时间(秒)
      */
     private Integer expiration;
+
+    /**
+     * 时间戳
+     */
+    private final Long timestamp = System.currentTimeMillis();
 }