初始化

This commit is contained in:
2026-09-17 14:44:18 +08:00
parent aa37fc4119
commit d2946f9512
24 changed files with 1006 additions and 92 deletions

13
src/api/request/tool.js Normal file
View File

@@ -0,0 +1,13 @@
import { get, post } from '../request.js'
export function toolListApi(params) {
return get('tools/all', { page: 1, pageSize: 50, includeDisabled: true, ...params })
}
export function toolSaveApi(data) {
return post('tools/save', data)
}
export function toolToggleApi(data) {
return post('tools/toggle', data)
}