From 7f8bc74444b8ddf4ccf07c217b92b044e385de4a Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 14 May 2018 16:40:20 +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