---
title: "创建SysDictionary"
method: POST
path: "/sysDictionary/createSysDictionary"
tags: ["SysDictionary"]
---

# 创建SysDictionary

`POST /sysDictionary/createSysDictionary`

## Request body

- SystemSysDictionary
  - `ID` integer — 主键ID
  - `createdAt` string — 创建时间
  - `desc` string — 描述
  - `name` string — 字典名（中）
  - `status` boolean — 状态
  - `sysDictionaryDetails` SystemSysDictionaryDetail[]
    - `ID` integer — 主键ID
    - `createdAt` string — 创建时间
    - `extend` string — 扩展值
    - `label` string — 展示值
    - `sort` integer — 排序标记
    - `status` boolean — 启用状态
    - `sysDictionaryID` integer — 关联标记
    - `updatedAt` string — 更新时间
    - `value` string — 字典值
  - `type` string — 字典名（英）
  - `updatedAt` string — 更新时间

## Response `200`

创建SysDictionary

- object
  - `code` integer
  - `data` unknown
  - `msg` string

---

[API](https://skmtc.net/fisco-bcos/apis/gin-vue-admin-swagger-api.md) · [All operations](https://skmtc.net/fisco-bcos/apis/gin-vue-admin-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fisco-bcos/gin-vue-admin-swagger-api/versions/83281ff551eb/schema)
