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

138 lines
3.1 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.

### templateFields.code
POST {{baseUrl}}/form/template/saveByVersion
Content-Type: application/json
Token: {{token}}
{
"id": 47,
"formId": 7,
"formName": "11",
"version": 8,
"templateFields": [
{
"title": "",
"showTitle": "",
"code": "bookName",
"dbField": "bookName",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "orderNo",
"dbField": "orderNo",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "seriesName",
"dbField": "seriesName",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "author",
"dbField": "author",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "editorDept",
"dbField": "editorDept",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "majorEditorName",
"dbField": "majorEditorName",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "cnBookCategory",
"dbField": "cnBookCategory",
"required": false,
"show": true,
"type": "string"
},
{
"title": "稿",
"showTitle": "稿",
"code": "bookType",
"dbField": "bookType",
"required": true,
"show": true,
"type": "string"
},
{
"title": "稿",
"showTitle": "稿",
"code": "wordCount",
"dbField": "wordCount",
"required": true,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "chartCount",
"dbField": "chartCount",
"required": false,
"show": true,
"type": "string"
},
{
"title": "稿",
"showTitle": "稿",
"code": "pageCount",
"dbField": "pageCount",
"required": false,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "hasImportant",
"dbField": "hasImportant",
"required": false,
"show": true,
"type": "string"
},
{
"title": "",
"showTitle": "",
"code": "introduction",
"dbField": "introduction",
"required": false,
"show": true,
"type": "string"
}
]
}
### ID
GET {{baseUrl}}/form/template/get/3
### formIdform
GET {{baseUrl}}/form/template/get/maxVersion?formId=3
Token: c3UjZGKPSFFwUiRxVEJNFaf5p2QzzPVa