From f7e769724d3adcde212065dae849f31f7e5db84a Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 16 Mar 2018 14:12:05 +0800
Subject: [PATCH] 优化
---
src/app/business/entity/token.ts | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/app/business/entity/token.ts b/src/app/business/entity/token.ts
index 44cf4b1..fb0e248 100644
--- a/src/app/business/entity/token.ts
+++ b/src/app/business/entity/token.ts
@@ -1,4 +1,7 @@
-export interface Authorization{
- token:string;
- refreshToken:string;
-}
\ No newline at end of file
+export interface Authorization {
+ name?: string;
+ token: string;
+ refreshToken?: string;
+ time?: Date;
+ expiredTime?: number;
+}
--
Gitblit v1.8.0