[ { "type": "get", "url": "common", "title": "公共参数说明", "version": "1.0.0", "name": "common", "group": "Common", "description": "

介绍公共参数

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Number", "optional": false, "field": "json", "description": "

是否返回json格式的数据1为返回2为不返回

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "signature", "description": "

用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "status", "description": "

状态,1为有效2为无效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "msg", "description": "

请求的数据是否成功的提示

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "data", "description": "

如果status为1,data有值

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "page", "description": "

分页信息

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.total", "description": "

分页总数

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.current_page", "description": "

当前页

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.total_page", "description": "

总页数

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.next_page", "description": "

下一页

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.prev_page", "description": "

上一页

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "page.status", "description": "

是否有下一页数据,0为没有

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Common" }, { "type": "get", "url": "passport/?l=applet.bind", "title": "用户登录", "version": "1.0.0", "name": "applet_bind", "group": "Passport", "description": "

用户登录

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "code", "description": "

微信登录返回的code

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "vid", "description": "

微信id,请保存在本地

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "uid", "description": "

用户id,请保存在本地

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "signature", "description": "

用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Passport" }, { "type": "get", "url": "passport/?l=applet.bind_mobile", "title": "绑定手机号-验证码绑定", "version": "1.0.0", "name": "applet_bind_mobile", "group": "Passport", "description": "

绑定手机号-验证码绑定

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Number", "optional": false, "field": "uid", "description": "

用户id

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "mobile", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "mcode", "description": "

验证码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "uid", "description": "

用户id,请保存在本地

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "signature", "description": "

用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Passport" }, { "type": "get", "url": "passport/?l=applet.mobile", "title": "更新用户手机号-微信绑定", "version": "1.0.0", "name": "applet_mobile", "group": "Passport", "description": "

更新用户手机号-微信绑定

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "iv", "description": "

微信的加密参数

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "encryptedData", "description": "

微信的加密参数

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "vid", "description": "

微信id

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "uid", "description": "

用户id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "vid", "description": "

微信id,请保存在本地

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "uid", "description": "

用户id,请保存在本地

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "signature", "description": "

用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Passport" }, { "type": "get", "url": "passport/?l=applet.update", "title": "更新用户信息", "version": "1.0.0", "name": "applet_update", "group": "Passport", "description": "

更新用户信息

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "nickname", "description": "

用户昵称

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "avatarurl", "description": "

用户头像

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "iv", "description": "

微信的加密参数

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "encryptedData", "description": "

微信的加密参数

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "vid", "description": "

微信id

" }, { "group": "Parameter", "type": "Number", "optional": false, "field": "uid", "description": "

用户id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "vid", "description": "

微信id,请保存在本地

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "uid", "description": "

用户id,请保存在本地

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "signature", "description": "

用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Passport" }, { "type": "get", "url": "passport/?l=reg.getMCode", "title": "获取手机验证码", "version": "1.0.0", "name": "reg_getMCode", "group": "Passport", "description": "

获取手机验证码

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Number", "optional": false, "field": "mobile", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "String", "optional": false, "field": "msg", "description": "

验证码已发送至您的手机,请注意查收,十分钟之内有效

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Passport" }, { "type": "get", "url": "service/?l=api.buy", "title": "发起微信支付", "version": "1.0.0", "name": "api_buy", "group": "Service", "description": "

发起微信支付

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "product_id", "description": "

产品id

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "pay", "description": "

微信支付返回的数据

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "pay.time", "description": "

服务器时间戳

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "pay.nonce_str", "description": "

随机字符串

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "pay.prepay_id", "description": "

统一下单接口返回的 prepay_id 参数值,通过'prepay_id=' + prepay_id 拼装成package

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "pay.sign_type", "description": "

签名算法

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "pay.sign", "description": "

签名

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.code", "title": "提交兑换码", "version": "1.0.0", "name": "api_code", "group": "Service", "description": "

提交兑换码

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "product_id", "description": "

产品id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "code", "description": "

兑换码

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.feedback", "title": "反馈方案信息", "version": "1.0.0", "name": "api_feedback", "group": "Service", "description": "

反馈方案信息

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "id", "description": "

反馈方案id

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback", "description": "

方案信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "feedback.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "feedback.pic", "description": "

最终效果图

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "feedback.pdf", "description": "

pdf文件

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "feedback.num", "description": "

评分数

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product", "description": "

商品清单

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.name", "description": "

商品名称

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.type", "description": "

商品类型1为有赞2为淘宝

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.taobao_code", "description": "

淘宝淘口令

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.youzan_path", "description": "

有赞路径

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.price", "description": "

商品价格

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.link", "description": "

商品链接

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "feedback.product.pic", "description": "

商品图片

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.feedback_num_submit", "title": "提交反馈方案的评分数", "version": "1.0.0", "name": "api_feedback_num_submit", "group": "Service", "description": "

提交反馈方案的评分数

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "id", "description": "

反馈方案id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "num", "description": "

评分数

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.home", "title": "获取首页数据", "version": "1.0.0", "name": "api_home", "group": "Service", "description": "

获取首页数据

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Number", "optional": false, "field": "uid", "description": "

用户id 所有Service接口中都有该项

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "config", "description": "

基本配置 所有Service接口中都有该项

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.name", "description": "

小程序名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.info", "description": "

小程序介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.edate", "description": "

产品有效期

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.article", "description": "

公众号链接-引导关注公众号

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.task_id", "description": "

软装任务链接-一般填写APPID

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.desc_name", "description": "

介绍标题-首页服务介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.desc_content", "description": "

介绍内容-首页服务介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.flow_name", "description": "

服务流程标题-首页服务流程

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "config.flow_content", "description": "

服务流程内容

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.video_content", "description": "

视频页介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.question_content", "description": "

问卷介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.act_name", "description": "

参与活动标题

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.act_desc", "description": "

参与活动介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.act_link", "description": "

参与活动链接

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "config.act_code", "description": "

是否显示兑换码按钮1为显示2为不显示

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "focus", "description": "

焦点图

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.pic", "description": "

图片

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.appid", "description": "

跳转的小程序appid,默认为空

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.link", "description": "

链接或者小程序路径

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "product", "description": "

产品列表

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.id", "description": "

产品id

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.info", "description": "

介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.content", "description": "

内容

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "product.price", "description": "

规格

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.price", "description": "

原价

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.zhe_price", "description": "

折扣价(特价)

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.type", "description": "

获取方式 1为购买,2为兑换,同时出现1,2,两个按钮同时出现

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.cash", "description": "

购买金额,当type=1时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.code", "description": "

兑换码数量,当type=2时有效

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.order", "title": "服务订单", "version": "1.0.0", "name": "api_order", "group": "Service", "description": "

服务订单

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "order", "description": "

订单信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.order_id", "description": "

订单编号

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.del_status", "description": "

产品在线状态1为在线2为已下线

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_status", "description": "

反馈状态1未反馈,显示服务获取成功,填写问卷 2填写问卷中 显示补充资料 3完成填写问卷 补充显示等待 4已出方案,显示方案按钮

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.edate", "description": "

产品有效期,feedback_status=1时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback", "description": "

方案名称,feedback_status=4时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_id", "description": "

反馈方案id

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.survey", "title": "问卷基本信息", "version": "1.0.0", "name": "api_survey", "group": "Service", "description": "

问卷基本信息

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "product_id", "description": "

产品id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "page_number", "description": "

当前页数 默认为1,修改某一页时有效

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "product", "description": "

产品信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.question_name", "description": "

问卷标题

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.question_pic", "description": "

问卷封面

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.question_content", "description": "

问卷内容(富文本)

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.question_desc", "description": "

问卷温馨提示

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "user", "description": "

用户答题进度信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "uesr.index", "description": "

答题进度,当前页数

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "uesr.product_id", "description": "

产品id

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "uesr.page", "description": "

同index,当前页数

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "uesr.page_total", "description": "

总页数

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "info", "description": "

问卷信息 为多维数组

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.page_number", "description": "

页号

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.reorder", "description": "

序号 第几题

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.name", "description": "

标题

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.info", "description": "

描述

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.answer", "description": "

用户填写的答案,多个用逗号隔开

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.type", "description": "

问卷类型 小于11没有选择框 1单行输入框 2多行输入框 3单图片上传 4多图片上传 11城市选择框 12单选框 13多选框

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.must", "description": "

是否必填 1必填2选填

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "info.match", "description": "

验证规则 暂时无效

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "info.content", "description": "

多维数组,选择项 里边的ctype是选项类型,1为用户选择,2为用户输入(比如其他)

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.survey_submit", "title": "提交问卷信息", "version": "1.0.0", "name": "api_survey_submit", "group": "Service", "description": "

提交问卷信息

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "product_id", "description": "

产品id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "page_number", "description": "

当前页数(user中的index)

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "survey_id", "description": "

题号id,多个用||隔开

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "survey_answer", "description": "

题号答案,多个用||隔开,如果是多选题或者多张图片,多个选项请用逗号隔开,选择题的选项值请从1开始,1、2、3、4,与order无关

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.video", "title": "获取优秀案例", "version": "1.0.0", "name": "api_video", "group": "Service", "description": "

获取优秀案例

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "video", "description": "

视频信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "video.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "video.link", "description": "

地址

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "video.video", "description": "

播放地址

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.view", "title": "获取服务详情", "version": "1.0.0", "name": "api_view", "group": "Service", "description": "

获取服务详情

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "id", "description": "

产品id

" } ] } }, "success": { "fields": { "Success 200": [ { "group": "Success 200", "type": "Object[]", "optional": false, "field": "focus", "description": "

焦点图

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "focus.pic", "description": "

图片

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "product", "description": "

产品信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.info", "description": "

介绍

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.pic", "description": "

产品图片,多个用逗号隔开

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.content", "description": "

内容

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "product.price", "description": "

规格

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.price", "description": "

原价

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.zhe_price", "description": "

折扣价(特价)

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.type", "description": "

获取方式 1为购买,2为兑换,同时出现1,2,两个按钮同时出现

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.cash", "description": "

购买金额,当type=1时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "product.price.code", "description": "

兑换码数量,当type=2时有效

" }, { "group": "Success 200", "type": "Number", "optional": false, "field": "buy", "description": "

是否已经购买 1为未购买 2为已购买 购买后底部按钮不再出现

" }, { "group": "Success 200", "type": "Object[]", "optional": false, "field": "order", "description": "

订单信息

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.name", "description": "

名称

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.order_id", "description": "

订单编号

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.del_status", "description": "

产品在线状态1为在线2为已下线

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_status", "description": "

反馈状态1未反馈,显示服务获取成功,填写问卷 2已反馈 显示原型第二条 3已出方案,显示原型第三条

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_time", "description": "

设计反馈时间 feedback_status=2时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_desc", "description": "

设计反馈描述 feedback_status=2时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.edate", "description": "

产品有效期,feedback_status=1时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback", "description": "

方案名称,feedback_status=3时有效

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "order.feedback_id", "description": "

反馈方案id

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "type": "get", "url": "service/?l=api.writeFormId", "title": "记录formid,用于发送通知", "version": "1.0.0", "name": "api_writeFormId", "group": "Service", "description": "

记录formid,用于发送通知

", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "signature", "description": "

signature

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "product_id", "description": "

产品id

" } ] } }, "filename": "/root/input/apidoc.php", "groupTitle": "Service" }, { "success": { "fields": { "Success 200": [ { "group": "Success 200", "optional": false, "field": "varname1", "description": "

No type.

" }, { "group": "Success 200", "type": "String", "optional": false, "field": "varname2", "description": "

With type.

" } ] } }, "type": "", "url": "", "version": "0.0.0", "filename": "/root/input/main.js", "group": "_root_input_main_js", "groupTitle": "_root_input_main_js", "name": "" } ]