mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
32 lines
722 B
HTTP
32 lines
722 B
HTTP
### 创建新的表单模板字段
|
|
POST {{baseUrl}}/form/template-field/create
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"templateId": 1,
|
|
"fieldName": "示例字段",
|
|
"fieldCode": "example_field",
|
|
"fieldType": "string",
|
|
"sortOrder": 1
|
|
}
|
|
|
|
### 根据ID获取表单模板字段
|
|
GET {{baseUrl}}/form/template-field/get/1
|
|
|
|
### 获取所有表单模板字段列表
|
|
GET {{baseUrl}}/form/template-field/list
|
|
|
|
### 更新表单模板字段信息
|
|
POST {{baseUrl}}/form/template-field/update/1
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"templateId": 1,
|
|
"fieldName": "更新后的字段",
|
|
"fieldCode": "updated_field",
|
|
"fieldType": "int",
|
|
"sortOrder": 2
|
|
}
|
|
|
|
### 删除表单模板字段
|
|
POST {{baseUrl}}/form/template-field/delete/1 |