Add auto publish to tool management

This commit is contained in:
2024-02-04 01:56:17 +08:00
parent 522347060c
commit 524b57ed8b
4 changed files with 117 additions and 34 deletions

View File

@@ -161,7 +161,8 @@ export const r_sys_tool_get = (param: ToolManagementGetParam) =>
export const r_sys_tool_get_one = (id: string) => request.get<ToolVo>(`${URL_SYS_TOOL}/${id}`)
export const r_sys_tool_pass = (id: string) => request.post<ToolVo>(`${URL_SYS_TOOL}/${id}`)
export const r_sys_tool_pass = (id: string, param: ToolManagementPassParam) =>
request.post<ToolVo>(`${URL_SYS_TOOL}/${id}`, param)
export const r_sys_tool_reject = (id: string) => request.put<ToolVo>(`${URL_SYS_TOOL}/${id}`)