{
"templateId": 1,
"formFields": [
{
"id": 1,
"templateId": 1,
"signatoryId": 1,
"signatoryOrderNum": 1,
"type": "text",
"name": "姓名",
"pageNumber": 1,
"positionX": 100.5,
"positionY": 200.5,
"width": 150,
"height": 30,
"required": true,
"defaultValue": "张三",
"options": "选项1\n选项2\n选项3",
"fontSize": 12,
"fontColor": "#333333",
"fontWeight": "normal",
"textAlign": "left",
"backgroundColor": "rgba(255, 255, 255, 0.1)",
"borderWidth": 1,
"borderColor": "#d9d9d9",
"borderRadius": 4
}
],
"orderNumToIdMap": {
"0": 0
}
}curl --location --request PUT '/api/v1/seal/templates//form-fields?id' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId": 1,
"formFields": [
{
"id": 1,
"templateId": 1,
"signatoryId": 1,
"signatoryOrderNum": 1,
"type": "text",
"name": "姓名",
"pageNumber": 1,
"positionX": 100.5,
"positionY": 200.5,
"width": 150,
"height": 30,
"required": true,
"defaultValue": "张三",
"options": "选项1\n选项2\n选项3",
"fontSize": 12,
"fontColor": "#333333",
"fontWeight": "normal",
"textAlign": "left",
"backgroundColor": "rgba(255, 255, 255, 0.1)",
"borderWidth": 1,
"borderColor": "#d9d9d9",
"borderRadius": 4
}
],
"orderNumToIdMap": {
"0": 0
}
}'{
"code": 0,
"msg": "string",
"data": 0
}