添加主机身份页面.

This commit is contained in:
lijiahang
2023-09-21 13:50:42 +08:00
parent fbc40116f0
commit b13cbd8cca
39 changed files with 444 additions and 649 deletions

View File

@@ -13,7 +13,7 @@ export interface TagCreateRequest {
/**
* tag 响应对象
*/
export interface TagResponse {
export interface TagQueryResponse {
id: number;
name: string;
}
@@ -29,5 +29,5 @@ export function createTag(request: TagCreateRequest) {
* 查询标签
*/
export function getTagList(type: TagType) {
return axios.get<TagResponse>('/infra/tag/list', { params: { type } });
return axios.get<TagQueryResponse>('/infra/tag/list', { params: { type } });
}