Commit 82a33d7b authored by 楼超奇's avatar 楼超奇

update

parent 3788cd14
...@@ -26,7 +26,7 @@ post表示更新保险信息,客户端上传字段如下: ...@@ -26,7 +26,7 @@ post表示更新保险信息,客户端上传字段如下:
"id_card": str "id_card": str
} }
- 订单详情页 返回给客户端保险信息(保单号、保单金额、被保人、出保时间、有效期) 确定h5是否变动 - 订单详情页 返回给客户端保险信息(保单号、保单金额、被保人、出保时间、有效期) 确定h5是否变动
如果不返回insurance这个字典,就代表此订单没有购买保险 如果insurance这个字典为空,就代表此订单没有购买保险
{ {
"insurance": { "insurance": {
"credential_id": str "credential_id": str
...@@ -81,7 +81,15 @@ post表示更新保险信息,客户端上传字段如下: ...@@ -81,7 +81,15 @@ post表示更新保险信息,客户端上传字段如下:
} }
- 申请退款接口 返回订单是否有保险标志 - 申请退款接口 返回订单是否有保险标志(此为backend历史遗留问题,所有会返回如下信息)
如果insurance这个字典为空,就代表此订单没有购买保险
{ {
"is_insurance": bool "insurance": {
"credential_id": str
"hybrid_doc": str
"premium": int
"name": str,
"confirmed_at": str,
"expiration": int // 返回的是天数
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment