多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 保存 #### 接口URL > {{baseUrl}}/cms/form/save #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "id": 0, "name": "这是一个付款码表单", "type": 2, "sort": 0, "desc": "这是一个付款码表单", "headType": 2, "headTypeValues": [ { "id": 166, "path": "attachment/image/f67221cgf3i.png" }, { "id": 168, "path": "attachment/image/f6722296437.png" } ], "headTypeVideo": "", "buttonName": "qaz", "buttonColor": "#482C2C", "isLogin": 1, "qrcode": "", "returnMsg": "he he ....", "endDate": null, "formItems": [ { "name": "1", "type": "radio", "validationType": "string", "value": "q w e", "defaultValue": "1 2 3", "required": true, "sort": 0 }, { "name": "2", "type": "checkbox", "validationType": "number", "value": "a s d ", "defaultValue": "4 5 6", "required": true, "sort": 0 } ], "required": true } ``` ## 删除 #### 接口URL > {{baseUrl}}/cms/form/delete #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "ids":[3] } ``` ## 明细 #### 接口URL > {{baseUrl}}/cms/form/get #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "id": 1 } ``` ## 列表 #### 接口URL > {{baseUrl}}/cms/form/list #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "searchKey": {}, "offset": 0, "limit": 10 } ```