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
2e96a619
Commit
2e96a619
authored
Aug 12, 2016
by
楼超奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parents
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
api.txt
api.txt
+45
-0
No files found.
api.txt
0 → 100644
View file @
2e96a619
- 提交订单 从gaia拿信息返给客户端
订单是否支持分期
多返回一个dict 里面包括保险金额、是否购买过保险
客户端提交时增加一个是否选择保险参数 {"use_insurance": bool}
{
"insurance_supported": bool
"insurance_info": {
"price": str, // 拼接好的字符串 25元/份
"is_old_user": bool
}
}
- 保险信息 从客户端拿信息发送姓名和身份证给gaia 如果是第二次购买,返回姓名和身份证给客户端,
支持取消购买。还需一个接口,提交保险信息
{
"is_old_user": bool,
"insurance_user_info": {
"insurance_user_name": str
"insurance_user_id": str
"insurance_price": // 拼接好的字符串 25元/份
}
"insurance_hybrid_doc": str
"surgery_hybrid_doc": str
}
提交保险信息 {
"insurance_user_name": str
"insurance_user_id": str
}
- 订单详情页 返回给客户端保险信息(不需要保单号、保单金额、被保人、出保时间、有效期) 确定h5是否变动
{
"insurance_success_info": {
"hybrid_doc": str
"price": // 拼接好的字符串 25元/份
"user": str,
"create_time": str,
"Validity": str // 返回的是月份字符串,比如"1"
}
}
- 我的订单页面(订单列表页) 每个订单都返回有没有购买保险
{
"insurance_used": bool
}
- 申请退款接口 返回订单是否有保险标志
{
"insurance_used": 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