RuoYi-Vue-Plus/ruoyi-modules/ruoyi-form/docs/http/FormFieldDictController.http
2026-02-13 11:17:42 +08:00

73 lines
1.5 KiB
HTTP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### parentId
POST {{baseUrl}}/form/field-dict/createOrUpdate
Content-Type: application/json
Token: {{token}}
{
"name": "lizhw1",
"code": "lizhw2",
"sortOrder": 1,
"configType": "contactUnit",
"status": 1,
"otherFields": {
"unitTypeId": 28,
"unitTypeTitle": "1"
}
}
###
POST {{baseUrl}}/form/field-dict/createOrUpdate
Content-Type: application/json
{
"parentId": 4,
"configType": "contactUnit",
"name": "contactUnit",
"code": "123",
"sortOrder": 2,
"status": 1,
"otherFields": {}
}
### IDparentId
GET {{baseUrl}}/form/field-dict/getList?configType=contactUnit
Token: {{token}}
###
POST {{baseUrl}}/form/field-dict/update-status?id=1&status=1
Token: {{token}}
### ,
POST {{baseUrl}}/form/field-dict/delete?id=1
Token: {{token}}
### form/field-dict/page
GET {{baseUrl}}/form/field-dict/page?currentPage=0&numPerPage=10&configType=contactUnit&queryStr=2
Token: {{token}}
### /formService/field-dict/dict
POST {{baseUrl}}form/field-dict/dict
Content-Type: application/json
["contactUnit"]
### ID
POST {{baseUrl}}/formService/field-dict/get
Content-Type: application/json
Token: {{token}}
{
"contactUnit": {
"tree": true,
"parentId": null,
"level": null
},
"unitContact": {
"tree": false,
"parentId": null,
"level": 1
}
}