Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
lcq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楼超奇
lcq
Commits
f62398bb
Commit
f62398bb
authored
Aug 12, 2016
by
楼超奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
5cf6bfb2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
api.txt
api.txt
+6
-9
No files found.
api.txt
View file @
f62398bb
...
@@ -3,11 +3,8 @@
...
@@ -3,11 +3,8 @@
多返回一个dict 里面包括保险金额、是否购买过保险
多返回一个dict 里面包括保险金额、是否购买过保险
客户端提交时增加一个是否选择保险参数 {"use_insurance": bool}
客户端提交时增加一个是否选择保险参数 {"use_insurance": bool}
{
{
"insurance_supported": bool
"support_insurance": bool
"insurance_info": {
"premium": int // 有这个字段表示需要展示,没有这个字段表示不需要展示
"premium": str, // 拼接好的字符串 25元/份
"has_bought_insurance": bool
}
}
}
- 保险信息 从客户端拿信息发送姓名和身份证给gaia 如果是第二次购买,返回姓名和身份证给客户端,
- 保险信息 从客户端拿信息发送姓名和身份证给gaia 如果是第二次购买,返回姓名和身份证给客户端,
支持取消购买。
支持取消购买。
...
@@ -19,7 +16,7 @@ get表示获取保险信息,backend返回如下:
...
@@ -19,7 +16,7 @@ get表示获取保险信息,backend返回如下:
"name": str
"name": str
"id_card": str
"id_card": str
}
}
"premium":
// 拼接好的字符串 25元/份
"premium":
int
"insurance_hybrid_doc": str
"insurance_hybrid_doc": str
"surgery_hybrid_doc": str
"surgery_hybrid_doc": str
}
}
...
@@ -32,7 +29,7 @@ post表示更新保险信息,客户端上传字段如下:
...
@@ -32,7 +29,7 @@ post表示更新保险信息,客户端上传字段如下:
{
{
"insurance_success_info": {
"insurance_success_info": {
"hybrid_doc": str
"hybrid_doc": str
"pr
ice": // 拼接好的字符串 25元/份
"pr
emium": int
"name": str,
"name": str,
"create_time": str,
"create_time": str,
"Validity": str // 返回的是月份字符串,比如"1"
"Validity": str // 返回的是月份字符串,比如"1"
...
@@ -40,9 +37,9 @@ post表示更新保险信息,客户端上传字段如下:
...
@@ -40,9 +37,9 @@ post表示更新保险信息,客户端上传字段如下:
}
}
- 我的订单页面(订单列表页) 每个订单都返回有没有购买保险
- 我的订单页面(订单列表页) 每个订单都返回有没有购买保险
{
{
"i
nsurance_used
": bool
"i
s_insurance
": bool
}
}
- 申请退款接口 返回订单是否有保险标志
- 申请退款接口 返回订单是否有保险标志
{
{
"i
nsurance_used
": bool
"i
s_insurance
": bool
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment