| | |
| | | |
| | | 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列表 |
| | |
| | | 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}`}) |