src/main/java/com/webank/wecross/account/service/authcode/AuthCode.java
/**
     * Check whether the current token is expired
     *
     * @return
     */
Check whether the current token is expired
@return
Check whether the current token is expired @return
public boolean isExpired() {
        if (getCreateTime() == null || getValidTime() == 0) {
            return true;
        }
        LocalDateTime now = LocalDateTime.now();
        return now.isAfter(createTime.plusSeconds(getValidTime()));
    }
public boolean isExpired ( ) { if ( getCreateTime ( ) == null || getValidTime ( ) == 0 ) { return true ; } LocalDateTime now = LocalDateTime . now ( ) ; return now . isAfter ( createTime . plusSeconds ( getValidTime ( ) ) ) ; }
Check whether the current token is expired
 @return
Check whether the current token is expired @return