多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
>[info] 获取报名表单选项信息 +++ I9RIA.getVoteDatas <<< success { "code": 0,//成功 "msg": "\u8868\u5355\u9009\u9879\u4fe1\u606f\u83b7\u53d6\u6210\u529f", "data": { "data": [{ "name": "name", "label": "\u59d3\u540d", "type": "input", "is_default": "1" }, { "name": "signs", "label": "\u7b7e\u540d", "type": "input", "is_default": "1" }, { "name": "photo", "label": "\u56fe\u7247", "type": "file", "is_default": "1" }], "endtime": null, "appid": "193105", "openid": "otuWJjvQKhb9nn1xL8v-IRrgxct8" } } 注:返回1表示成功(大于0),否则失败。 <<< error { "code": 1,//失败 "msg": "\u8868\u5355\u9009\u9879\u4fe1\u606f\u83b7\u53d6\u6210\u529f", "data": {} } +++ >[info] 调用示例: ~~~ I9RIA.getVoteDatas({}, function(res){console.log(res);}, function(err){console.log(err);}); ~~~ >[danger] 表单后台标签项,不包括用户自定义标签 | 名称 | 类型 | 描述 | | --- | --- | --- | |name|string|姓名| |signs|string|签名| |photo|String(图片base64之后传输)|图片base64之后值| |tel|string|电话| |address|string|地址| |qq|string|QQ号码| |email|string|电子邮箱| |birthday|string|生日| |sex|string|性别| |weixinnum|string|微信号| |age|string|年龄| |career|string|职业| |company|string|公司| |worktime|string|工作时间| |speciality|string|爱好| |location|string|所在地|