style: allowed models ux

This commit is contained in:
jialin
2025-10-13 15:21:17 +08:00
parent 1fa2124efd
commit 663b6c7b4e
16 changed files with 218 additions and 102 deletions
+7
View File
@@ -17,6 +17,13 @@ export async function createApisKey(params: { data: FormData }) {
});
}
export async function updateApisKey(id: number, params: { data: FormData }) {
return request<ListItem>(`${APIS_KEYS_API}/${id}`, {
method: 'PUT',
data: params.data
});
}
export async function deleteApisKey(id: number) {
return request(`${APIS_KEYS_API}/${id}`, {
method: 'DELETE'