Commit f62398bb authored by 楼超奇's avatar 楼超奇

modify

parent 5cf6bfb2
......@@ -3,11 +3,8 @@
多返回一个dict 里面包括保险金额、是否购买过保险
客户端提交时增加一个是否选择保险参数 {"use_insurance": bool}
{
"insurance_supported": bool
"insurance_info": {
"premium": str, // 拼接好的字符串 25元/份
"has_bought_insurance": bool
}
"support_insurance": bool
"premium": int // 有这个字段表示需要展示,没有这个字段表示不需要展示
}
- 保险信息 从客户端拿信息发送姓名和身份证给gaia 如果是第二次购买,返回姓名和身份证给客户端,
支持取消购买。
......@@ -19,7 +16,7 @@ get表示获取保险信息,backend返回如下:
"name": str
"id_card": str
}
"premium": // 拼接好的字符串 25元/份
"premium": int
"insurance_hybrid_doc": str
"surgery_hybrid_doc": str
}
......@@ -32,7 +29,7 @@ post表示更新保险信息,客户端上传字段如下:
{
"insurance_success_info": {
"hybrid_doc": str
"price": // 拼接好的字符串 25元/份
"premium": int
"name": str,
"create_time": str,
"Validity": str // 返回的是月份字符串,比如"1"
......@@ -40,9 +37,9 @@ post表示更新保险信息,客户端上传字段如下:
}
- 我的订单页面(订单列表页) 每个订单都返回有没有购买保险
{
"insurance_used": bool
"is_insurance": bool
}
- 申请退款接口 返回订单是否有保险标志
{
"insurance_used": bool
"is_insurance": bool
}
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