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

Function createRole

Xmw_web/src/services/system/role-management.ts:29–31  ·  view source on GitHub ↗
(
  options: Omit<API.ROLEMANAGEMENT, 'role_id' | 'founder' | 'created_time' | 'updated_time'>,
)

Source from the content-addressed store, hash-verified

27 * @Author: 白雾茫茫丶
28 */
29export const createRole = (
30 options: Omit<API.ROLEMANAGEMENT, 'role_id' | 'founder' | 'created_time' | 'updated_time'>,
31) => httpRequest.post<API.ROLEMANAGEMENT>(`${baseURL}`, options);
32
33/**
34 * @description: 更新角色数据

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected