(category = null)
| 13 | * @returns {Promise} - 工具列表 |
| 14 | */ |
| 15 | export const getTools = async (category = null) => { |
| 16 | const query = category ? `?${new URLSearchParams({ category }).toString()}` : '' |
| 17 | return apiAdminGet(`${BASE_URL}${query}`) |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * 获取工具选项列表(用于下拉选择) |
nothing calls this directly
no test coverage detected