feat(work): 新增创建或更新审批模板相关接口

This commit is contained in:
fudiwei
2022-12-03 19:21:58 +08:00
parent e0bb4d7ca0
commit ab375b7cc1
17 changed files with 514 additions and 44 deletions

View File

@@ -0,0 +1,33 @@
{
"template_name": [
{
"text": "我的api测试模版",
"lang": "zh_CN"
}
],
"template_content": {
"controls": [
{
"property": {
"control": "Text",
"id": "Text-01",
"title": [
{
"text": "控件名称",
"lang": "zh_CN"
}
],
"placeholder": [
{
"text": "控件说明",
"lang": "zh_CN"
}
],
"require": 0,
"un_print": 1
},
"config": {}
}
]
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"template_id": "C4RbNKm731MCFVgk6XLq1Rs9W4aNXPJV2mmXT4qGy"
}

View File

@@ -0,0 +1,34 @@
{
"template_id": "C4RbNKm731MCFVgk6XLq1Rs9W4aNXPJV2mmXT4qGy",
"template_name": [
{
"text": "我的api测试模版",
"lang": "zh_CN"
}
],
"template_content": {
"controls": [
{
"property": {
"control": "Text",
"id": "Text-01",
"title": [
{
"text": "控件名称",
"lang": "zh_CN"
}
],
"placeholder": [
{
"text": "控件说明",
"lang": "zh_CN"
}
],
"require": 0,
"un_print": 1
},
"config": {}
}
]
}
}