From 7b6078a178b2bc72d2e0f182919ce0267d4ca5fc Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 28 六月 2023 14:28:45 +0800 Subject: [PATCH] !15 适配登录重构的修改 Merge pull request !15 from MichelleChung/ts --- src/api/system/client/types.ts | 138 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 138 insertions(+), 0 deletions(-) diff --git a/src/api/system/client/types.ts b/src/api/system/client/types.ts new file mode 100644 index 0000000..e67f95f --- /dev/null +++ b/src/api/system/client/types.ts @@ -0,0 +1,138 @@ +export interface ClientVO { + /** + * id + */ + id: string | number; + + /** + * 瀹㈡埛绔痠d + */ + clientId: string | number; + + /** + * 瀹㈡埛绔痥ey + */ + clientKey: string; + + /** + * 瀹㈡埛绔閽� + */ + clientSecret: string; + + /** + * 鎺堟潈绫诲瀷 + */ + grantTypeList: string[]; + + /** + * 璁惧绫诲瀷 + */ + deviceType: string; + + /** + * token娲昏穬瓒呮椂鏃堕棿 + */ + activeTimeout: number; + + /** + * token鍥哄畾瓒呮椂 + */ + timeout: number; + + /** + * 鐘舵�侊紙0姝e父 1鍋滅敤锛� + */ + status: string; + +} + +export interface ClientForm extends BaseEntity { + /** + * id + */ + id?: string | number; + + /** + * 瀹㈡埛绔痠d + */ + clientId?: string | number; + + /** + * 瀹㈡埛绔痥ey + */ + clientKey?: string; + + /** + * 瀹㈡埛绔閽� + */ + clientSecret?: string; + + /** + * 鎺堟潈绫诲瀷 + */ + grantTypeList?: string[]; + + /** + * 璁惧绫诲瀷 + */ + deviceType?: string; + + /** + * token娲昏穬瓒呮椂鏃堕棿 + */ + activeTimeout?: number; + + /** + * token鍥哄畾瓒呮椂 + */ + timeout?: number; + + /** + * 鐘舵�侊紙0姝e父 1鍋滅敤锛� + */ + status?: string; + +} + +export interface ClientQuery extends PageQuery { + /** + * 瀹㈡埛绔痠d + */ + clientId?: string | number; + + /** + * 瀹㈡埛绔痥ey + */ + clientKey?: string; + + /** + * 瀹㈡埛绔閽� + */ + clientSecret?: string; + + /** + * 鎺堟潈绫诲瀷 + */ + grantType?: string; + + /** + * 璁惧绫诲瀷 + */ + deviceType?: string; + + /** + * token娲昏穬瓒呮椂鏃堕棿 + */ + activeTimeout?: number; + + /** + * token鍥哄畾瓒呮椂 + */ + timeout?: number; + + /** + * 鐘舵�侊紙0姝e父 1鍋滅敤锛� + */ + status?: string; + +} -- Gitblit v1.9.3