mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
35 lines
736 B
HTTP
35 lines
736 B
HTTP
### 创建或更新表单字典
|
|
POST {{baseUrl}}/form/dict/createOrUpdate
|
|
Content-Type: application/json
|
|
Token: {{token}}
|
|
|
|
{
|
|
"name": "测试字典",
|
|
"code": "test_dict"
|
|
}
|
|
|
|
### 根据ID获取表单字典
|
|
GET {{baseUrl}}/form/dict/get?id=1
|
|
Token: {{token}}
|
|
|
|
### 删除表单字典
|
|
POST {{baseUrl}}/form/dict/delete?id=1
|
|
Token: {{token}}
|
|
|
|
### 获取表单字典列表
|
|
GET {{baseUrl}}/form/dict/list
|
|
Token: {{token}}
|
|
|
|
### 根据编码获取表单字典
|
|
GET {{baseUrl}}/form/dict/get-by-code?code=test_dict
|
|
Token: {{token}}
|
|
|
|
|
|
### form/dict/copy 同步字典到 targetTenantId 租户
|
|
POST {{baseUrl}}/form/dict/copy?sourceTenantId=-1&targetTenantId=你的租户机构id
|
|
Content-Type: application/json
|
|
Token: {{token}}
|
|
|
|
[
|
|
"writingType"
|
|
] |