From 71db7a2284b61bc8b68e1097e9b8ee819cb6f32f Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期四, 16 一月 2025 13:47:20 +0800 Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑 --- src/api/data/channel/http/token.ts | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/api/data/channel/http/token.ts b/src/api/data/channel/http/token.ts index 5f87245..a5120c8 100644 --- a/src/api/data/channel/http/token.ts +++ b/src/api/data/channel/http/token.ts @@ -2,17 +2,17 @@ export interface HttpTokenVO { id: string - apiId: string, loginUrl: string, clientId: string, clientSecret: string, username: string, password: string, + refreshFreq: string, token: string, } export interface HttpTokenPageReqVO extends PageParam { - apiId?: string + loginUrl?: string } // 查询HttpToken列表 @@ -20,6 +20,11 @@ return request.get({ url: '/data/channel/http/token/page', params }) } +// 查询HttpToken列表 +export const getHttpTokenList = () => { + return request.get({ url: '/data/channel/http/token/list'}) +} + // 查询HttpToken详情 export const getHttpToken = (id: number) => { return request.get({ url: `/data/channel/http/token/info/${id}`}) -- Gitblit v1.9.3