Files
SQLBot/frontend/src/api/setting.ts

11 lines
471 B
TypeScript
Raw Normal View History

2025-09-08 16:36:30 +08:00
import { request } from '@/utils/request'
export const termApi = {
pager: (pageNumber: number, pageSize: number) =>
request.get(`/settings/terminology/pager/${pageNumber}/${pageSize}`),
add: (data: any) => request.post('/settings/terminology', data),
edit: (data: any) => request.put('/settings/terminology', data),
delete: (id: number) => request.delete(`/settings/terminology/${id}`),
query: (id: number) => request.get(`/settings/terminology/${id}`),
}