Commit 694d6787 authored by hezhen's avatar hezhen

123

parent a00c9e4c
...@@ -41,8 +41,11 @@ public class AccessToken implements Serializable { ...@@ -41,8 +41,11 @@ public class AccessToken implements Serializable {
expires_in = temp.getInteger("expires_in"); expires_in = temp.getInteger("expires_in");
if (expires_in != null) if (expires_in != null){
expiredTime = System.currentTimeMillis() + ((expires_in -5) * 1000); expiredTime = System.currentTimeMillis() + ((expires_in -5) * 1000);
System.out.println("----expiredTime==="+expiredTime);
}
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
......
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