MCPcopy Create free account
hub / github.com/baiwumm/react-admin / updateRole

Function updateRole

Xmw_web/src/services/system/role-management.ts:38–39  ·  view source on GitHub ↗
({ role_id, ...options }: API.ROLEMANAGEMENT)

Source from the content-addressed store, hash-verified

36 * @Author: 白雾茫茫丶
37 */
38export const updateRole = ({ role_id, ...options }: API.ROLEMANAGEMENT) =>
39 httpRequest.put<number[]>(`${baseURL}/${role_id}`, options);
40
41/**
42 * @description: 删除角色数据

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected