## 问卷提交
~~~[api]
POST:refer/dispose
*PHPSESSID=kt3fo5th8jteqmu7r8f7p8fkmm#登录之后的密钥
int:doctor_id=38#医生id
varchar:note=test#备注
int:state=1#1=开药物和处方;0=只开处方
varchar:name=大娃#收件人名
varchar:phone=15770808503#手机
varchar:address=康家沟#收件地址
array:problem=[]#回答的问卷问题(以索引数组的形式将id传过来)
array:image=[]#图片集(以索引数组的形式将id传过来)
<<<
success
{
"code":1,
"msg":"问卷提交成功",
"refer_id":9,
"url":"pay/index"
}
<<<
success
{
"code": 1,
"msg": "您有新提交的咨询订单,请先支付",
"refer_id": 9,
"info": {
"id": 9,
"uid": 5864,
"doctor_id": 36,
"note": "I'm fine, thanks",
"state": 0,
"status": 0,
"refund": 1,
"money": "0.01",
"name": "大娃",
"phone": "15770808503",
"address": "康家沟",
"create_time": "1970-01-01 08:33:39",
"update_time": "1970-01-01 08:33:39"
},
"url": "pay/index"
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| refer_id | 订单ID |
| url |跳转的支付地址 |
|info |订单的详情 |
|info-id |订单的ID |
|info-uid |用户ID |
|info-doctor_id |医生ID |
|info-note |订单的备注 |
|info-state |1=开药物和处方;0=只开处方 |
|info-refund |1=已退款方;0=未退款 |
|info-money |订单的金额 |
|info-name |收货人姓名|
|info-phone |收货人手机 |
|info-address |收货人地址 |