文档
测试

获取报名表格式

GET
http://47.97.219.68:8080/form/get_form_format/{activityId}

接口描述

获取某活动的报名表格式(不包含报名表基本属性)

请求参数

参数名
类型
描述
必填
activityId
int
活动的id
必填

说明 / 示例

````inline code 发送请求:http://47.97.219.68:8080/form/get_form_format/1 { "msg": "success", "code": "0", "data": { "formFormatDtoList": [ //报名表自定义的选项,没有则为null { "property": "微信", //选项内容 "sequence": 1, //位序 "type": 1, //类型,0为单行文本框,1为多行文本框, 2为单项选择框,3为多项选择框 "content": null, //单选和多选的内容,不是则为null "isOptional": 1, //0为必填,1为选填 "cid": 1 //自定义选项的id }, { "property": "邮箱", "sequence": 2, "type": 0, "content": null, "isOptional": 0, "cid": 2 }, { "property": "爱好", "sequence": 3, "type": 3, "content": [ "音乐", "游泳", "旅行" ], "isOptional": 0, "cid": 3 } ], "formTicketDtoList": [ //票种信息 { "ticketId": 3, //票种的id "ticketType": 0, //票的类型,0为免费,1为付费 "ticketName": "测试接口", //票的名字 "ticketPrice": 0, //票的价格 "ticketRemainNumber": 8, //剩余票的数量 "ticketInstructions": "测试中:无" //票的说明 } ] } } ``` `