diff --git a/src/api/system/client/types.ts b/src/api/system/client/types.ts index 142118d..c1d02d4 100644 --- a/src/api/system/client/types.ts +++ b/src/api/system/client/types.ts @@ -29,6 +29,26 @@ export interface ClientVO { */ deviceType: string; + /** + * 允许访问路径 + */ + accessPath?: string; + + /** + * 允许访问路径列表 + */ + accessPathList?: string[]; + + /** + * IP白名单 + */ + ipWhitelist?: string; + + /** + * IP白名单列表 + */ + ipWhitelistList?: string[]; + /** * token活跃超时时间 */ @@ -76,6 +96,26 @@ export interface ClientForm extends BaseEntity { */ deviceType?: string; + /** + * 允许访问路径 + */ + accessPath?: string; + + /** + * 允许访问路径列表 + */ + accessPathList?: string[]; + + /** + * IP白名单 + */ + ipWhitelist?: string; + + /** + * IP白名单列表 + */ + ipWhitelistList?: string[]; + /** * token活跃超时时间 */ @@ -118,6 +158,16 @@ export interface ClientQuery extends PageQuery { */ deviceType?: string; + /** + * 允许访问路径 + */ + accessPath?: string; + + /** + * IP白名单 + */ + ipWhitelist?: string; + /** * token活跃超时时间 */ diff --git a/src/views/system/client/index.vue b/src/views/system/client/index.vue index 2550f53..bbea51f 100644 --- a/src/views/system/client/index.vue +++ b/src/views/system/client/index.vue @@ -97,6 +97,41 @@ + + + + + + @@ -142,7 +177,7 @@ /> - + @@ -170,6 +205,38 @@ > + + + + + + + +