文档
测试

首页-改版数据加载

POST
http://localhost:8080/app/baiyi/home/new

接口描述

首页-全新改版数据加载 功能模块跳转事件判定顺序 先判定is_open的值 如果为0则提示敬请期待 如果为1 则判定is_h5_view 如果为1 则H5加载h5_url 如果为0 则根据model_method去做对应的跳转事件

请求参数

参数名
类型
描述
必填
user_id
string
当前登录用户id 示例:cab441114a40493daf2b7266db59daee
必填
sign
string
请求接口签名 示例:7c6a0395790fd7418c462c449ee6ba33
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:数据加载成功
必填
result
object
数据字典
必填
home_top_icon
array
顶部5个大功能模块图标 数据列表
必填
img_path
string
功能模块图标 示例:http://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1605495831141.png?Expires=1920855831&OSSAccessKeyId=LTAIaSTlqEOfe29i&Signature=wUvjaGNhP3Gb%2Bs%2BJ8lzTL3aVtpc%3D
必填
method_name
string
功能点击跳转方法名 示例:share_circle
必填
icon_name
string
功能模块名称 示例:共享圈
必填
wait_audit_transfer_num
int
待审核转让终端数 示例:0
必填
h5_url
string
h5加载地址 示例:https://mp.weixin.qq.com/s/dROGOFbDMI0efY7bIgsqmA
必填
img_path
string
轮播图地址 示例:http://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1605506746836.png?Expires=1920866747&OSSAccessKeyId=LTAIaSTlqEOfe29i&Signature=uMykYay%2B2CgcflSYNQNbr%2FAJzow%3D
必填
method_name
string
跳转方法名 示例:
必填
is_can_link
int
是否可以点击 1是 0否 示例:1
必填
is_h5
int
是否h5加载 1是 0否 示例:1
必填
notice_count
int
右上角消息待读条数 示例:14
必填
home_default_icon
array
默认功能模块列表 跟以前保持一致 数据列表
必填
model_img
string
示例:http://yun-pay.hs499.com/upload//202009/1599535877732.png
必填
is_having_right
int
示例:1
必填
type_name
string
示例:支付圈
必填
is_open
int
示例:1
必填
model_method
string
示例:card_test1
必填
route_type_id
string
示例:a73dcd891bee45a58cebbb837bf25152
必填
model_id
string
示例:
必填
sort
int
示例:6
必填
is_can_edit
int
示例:1
必填
is_show_home
int
示例:1
必填
oem_id
string
示例:5988
必填
h5_url
string
示例:http://www.idai88.com/finance/toolDetail?orgId=5931&shareId=5931&proId=235&type=6
必填
model_name
string
示例:AI信用检测
必填
is_h5_view
int
示例:1
必填
id
string
示例:2e21f386c4fc430dbe9c47ff7b70abb2
必填
isIdentifyVerify
int
是否实名认证 示例:2
必填
model_img
string
示例:http://yun-pay.hs499.com/upload//202009/1599535877732.png
必填
is_having_right
int
示例:1
必填
type_name
string
示例:支付圈
必填
is_open
int
示例:1
必填
model_method
string
示例:card_test1
必填
route_type_id
string
示例:a73dcd891bee45a58cebbb837bf25152
必填
model_id
string
示例:
必填
sort
int
示例:6
必填
is_can_edit
int
示例:1
必填
is_show_home
int
示例:1
必填
oem_id
string
示例:5988
必填
h5_url
string
示例:http://www.idai88.com/finance/toolDetail?orgId=5931&shareId=5931&proId=235&type=6
必填
model_name
string
示例:AI信用检测
必填
is_h5_view
int
示例:1
必填
id
string
示例:2e21f386c4fc430dbe9c47ff7b70abb2
必填
is_show_gift_dialog
int
是否弹出领取礼包弹窗 示例:0
必填
img
string
示例:http://yun-pay.hs499.com/upload//202009/1599727936156.png
必填
id
string
示例:c2799b9807214513b95ad5abef9e9aef
必填
title
string
示例:百一“全新支付+”产品发布会,2020年09月12日诚邀您参加!
必填
add_time
string
示例:2020-05-06 15:35:19
必填
add_time_stamp
int
示例:1588750519798
必填
home_user_name
string
用户真实姓名 示例:吴文追
必填
home_recommand_banner
array
功能模块列表下面的轮播图
必填
h5_url
string
示例:
必填
img_path
string
示例:http://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1605507635412.png?Expires=1920867635&OSSAccessKeyId=LTAIaSTlqEOfe29i&Signature=pfR34nTIoayT3aJJkkd04zOWyvc%3D
必填
method_name
string
示例:baiyi_video
必填
is_can_link
int
示例:1
必填
is_h5
int
示例:0
必填
home_user_name
string
用户真实姓名 示例:吴文追
必填
recommand_module
object
精选推荐模块
必填
title
string
标题:精选推荐
必填
tips
string
描述
必填
home_bottom_banner
array
首页-精选推荐广告图列表
必填
h5_url
string
h5加载地址
必填
img_path
string
轮播图地址
必填
method_name
string
跳转方法名
必填
is_can_link
int
是否可以点击 1是 0否 示例:1
必填
is_h5
int
是否h5加载 1是 0否 示例:1
必填
credit_card_module
object
高佣办卡模块
必填
title
string
标题:高佣办卡
必填
tips
string
描述
必填
credit_card_list
array
首页-高佣办卡数据列表
必填
id
string
产品ID
必填
channel_name
string
产品名称
必填
amount
decimal
奖励金额
必填
tips
string
标签
必填
loan_human_num
int
已下卡数
必填
img_path
string
图片地址
必填
pos_module
object
支付优选模块
必填
title
string
标题:支付优选
必填
tips
string
描述
必填
pos_list
array
首页-支付优选数据列表
必填
id
string
posID
必填
title
string
标题
必填
price
decimal
价格
必填
img_path
string
图片地址
必填
buyers
int
付款人数
必填
pos_desc
string
机具描述
必填
loan_module
object
大额融资模块
必填
title
string
标题:大额融资
必填
tips
string
描述
必填
loan_list
array
首页-大额融资数据列表
必填
channel_name
string
产品名称
必填
max_lines
int
最高额度
必填
data_cycle
string
结算周期
必填
img_path
string
图片地址
必填
max_return
string
最高返 例如:600元
必填
course_module
object
发现好课模块
必填
title
string
标题:发现好课
必填
tips
string
描述
必填
course_list
array
首页-发现好课数据列表
必填
learn_total_num
int
学习总人数
必填
img_path
string
课程图片
必填
publish_time
string
发布时间
必填
course_title
string
课程标题
必填
chapters_num
int
章节数量
必填
id
string
课程ID
必填
status
int
课程状态1.持续更新中2.已完结
必填
goods_module
object
特惠好物模块
必填
title
string
标题:特惠好物
必填
tips
string
描述
必填
goods_list
array
首页-特惠好物数据列表
必填
goods_name
string
商品名称
必填
gid
string
商品ID
必填
need_score
int
需要积分
必填
vip_price
decimal
商品价格
必填
goods_img
string
商品图片
必填
pay_human_num
int
付款人数
必填
activity_module
object
最近活动模块
必填
title
string
标题:最近活动
必填
tips
string
描述
必填
activity_list
array
首页-活动数据列表
必填
img
string
示例:http://yun-pay.hs499.com/upload//202009/1599727936156.png
必填
id
string
示例:c2799b9807214513b95ad5abef9e9aef
必填
title
string
示例:百一“全新支付+”产品发布会,2020年09月12日诚邀您参加!
必填
add_time
string
示例:2020-05-06 15:35:19
必填
add_time_stamp
int
示例:1588750519798
必填

说明 / 示例

{ "code": 1, "errors": {}, "msg": "数据加载成功", "result": { "loan_module": { "title": "大额融资", "tips": "无须等待立即放款" "loan_list": [ { "channel_name": "豆豆钱", "amount": 0, "score_price_description": "", "max_lines": 0, "tips": "", "base_score_price": 0, "fast_loan_time": "", "loan_human_num": 0, "amount_type": 0, "img_path": "https://lion-cloud.oss-cn-hangzhou.aliyuncs.com/loan/924946155891064834/product-loanPlatformProduct-4490285f-1ac6-4e07-a51e-56af71baa86d.jpg", "channel_subtitle": "", "data_cycle": "", "id": "8c6c2529d14340cd9ee768b295432888", "min_rate": 0, "score_description": "" }, { "channel_name": "好分期", "amount": 80, "score_price_description": "", "max_lines": 200000, "tips": "额度高,到账快", "base_score_price": 0, "fast_loan_time": "1分钟", "loan_human_num": 64010, "amount_type": 0, "img_path": "https://lion-cloud.oss-cn-hangzhou.aliyuncs.com/loan/924946155891064834/product-loanPlatformProduct-edc798f5-96af-43cc-ad5e-d1a1a18e3440.jpg", "channel_subtitle": "", "data_cycle": "数据周返", "id": "5f90b058f1514dcf8ff79baa2ba8e8b4", "min_rate": 1, "score_description": "" } ] }, "activity_module": { "activity_list": [ { "img": "http://yun-pay.hs499.com/upload//202101/1610103976299.png", "id": "95cf367435b54e12a73bfd845071fc9f", "title": "百一圈,全新版本震撼来袭,新功能抢先看~~~", "add_time": "2020-12-03 15:43:17", "add_time_stamp": 1606981397599 } ], "title": "最近活动", "tips": "超高佣金|1月主推" }, "pos_module": { "pos_list": [ { "pos_desc": "百一圈用户尊享费率低至0.49%,激活返现高达210元", "buyers": 14799, "img_path": "http://yun-pay.hs499.com/upload//202011/1605851745291.jpg", "price": 100, "id": "6941c7af795a4f3bb4bd3ca2475a36d2", "title": "乐刷-卡乐宝" }, { "pos_desc": "嘉联立刷稳定电签版,费率低至0.52%,返现高达230元", "buyers": 3731, "img_path": "http://yun-pay.hs499.com/upload//202011/1604718810416.jpg", "price": 100, "id": "0ac7b670b4714e41ac62eef6364dc8ae", "title": "嘉联立刷" } ], "title": "支付优选", "tips": "专注POS支付领域" }, "wait_audit_transfer_num": 0, "kf_url": "https://cschat-ccs.aliyun.com/index.htm?tntInstId=_223rBuK&scene=SCE00008202", "course_module": { "course_list": [ { "user_level_sort": 4, "level_name": "至尊会员", "learn_total_num": 11, "img_path": "upload//202008/1597387840122.png", "publish_time": "2020-08-14", "course_title": "电商淘店14天单品打爆推广操作", "chapters_num": 12, "id": "933c56e46ac24d7290cbce1a8becd160", "status": 1 }, { "user_level_sort": 4, "level_name": "至尊会员", "learn_total_num": 12, "img_path": "upload//202008/1596264134762.png", "publish_time": "2020-08-01", "course_title": "十分钟防治抑郁,战胜抑郁情绪", "chapters_num": 14, "id": "341c821bc14a4cbea36cddfb9f5044be", "status": 1 }, { "user_level_sort": 0, "level_name": "", "learn_total_num": 12, "img_path": "upload//202007/1596180639637.png", "publish_time": "2020-07-31", "course_title": "抖音解读剖析:2020年拍抖音还能赚到钱吗?还来的及吗?", "chapters_num": 1, "id": "04a30ebfe6364487978ada4aede8eb9a", "status": 2 } ], "title": "发现好课", "tips": "你想学的都有" }, "notice_count": 4, "goods_module": { "goods_list": [ { "goods_name": "【2020冬季新款】大码女装胖mm宽松上衣印花圆领针织T恤衫", "gid": "0026178c7d69431f80522b5ef8f057fe", "need_score": 0, "vip_price": 118, "goods_img": "http://a.vpimg2.com/upload/merchandise/pdcvis/2020/12/04/74/88de3491-3913-4179-b243-785b211c3cb8_420_531.jpg" }, { "goods_name": "MSAY秋冬气质拉链高腰休闲裤女拼接格子宽松萝卜裤哈伦裤子", "gid": "0028f735a15b44fba004e14b82034000", "need_score": 0, "vip_price": 120, "goods_img": "http://a.vpimg2.com/upload/merchandise/pdcvis/605790/2020/1030/62/fd7148b2-9b39-456c-95ab-6514d9a34736_420_531.jpg" }, { "goods_name": "女款瑜伽健身跑步T恤", "gid": "002916951ebe4143b84ceb7fbaa2eb3a", "need_score": 0, "vip_price": 87, "goods_img": "http://a.vpimg2.com/upload/merchandise/pdcvis/2020/11/02/55/81b850fa-96e3-46f2-89eb-19b0c2fd380c_420_531.jpg" } ], "title": "特惠好物", "tips": "实货好货任你挑" }, "is_show_ad": 1, "credit_card_module": { "credit_card_list": [ { "channel_name": "云闪付", "amount": 20, "score_price_description": "", "max_lines": 0, "tips": "还款0手续费用", "base_score_price": 0, "fast_loan_time": "", "loan_human_num": 12365, "amount_type": 0, "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1608118101592.png", "channel_subtitle": "", "data_cycle": "周结", "id": "414fd3ef91a14d5a88fe499bcba51e1d", "min_rate": 0, "score_description": "" }, { "channel_name": "工商银行", "amount": 30, "score_price_description": "", "max_lines": 0, "tips": "56天免息期", "base_score_price": 0, "fast_loan_time": "", "loan_human_num": 23652, "amount_type": 0, "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1608118388978.png", "channel_subtitle": "", "data_cycle": "周结", "id": "52751dd692904314a8e8181bcaf6ac79", "min_rate": 0, "score_description": "" }, { "channel_name": "光大金卡初审", "amount": 125, "score_price_description": "", "max_lines": 0, "tips": "高端卡,有年费", "base_score_price": 0, "fast_loan_time": "", "loan_human_num": 4628, "amount_type": 0, "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1608119129837.png", "channel_subtitle": "", "data_cycle": "周结", "id": "0409cd025b0c4c2590972b64fdf70698", "min_rate": 0, "score_description": "" } ], "title": "高佣办卡", "tips": "免费申请信用卡" }, "home_ad_banner_info": { "h5_url": "", "img_path": "http://yun-pay.hs499.com/upload//202012/1609216694598.png", "method_name": "loan_circle", "is_can_link": 1, "is_h5": 0 }, "recommand_module": { "home_recommand_banner": [ { "h5_url": "https://mp.weixin.qq.com/s/dROGOFbDMI0efY7bIgsqmA", "img_path": "http://yun-pay.hs499.com/upload//202101/1610164468707.png", "method_name": "https://mp.weixin.qq.com/s/dROGOFbDMI0efY7bIgsqmA", "is_can_link": 1, "is_h5": 1 }, { "h5_url": "", "img_path": "http://yun-pay.hs499.com/upload//202101/1610164513532.png", "method_name": "baiyi_video", "is_can_link": 1, "is_h5": 0 }, { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1610164659764.png", "method_name": "life_oil", "is_can_link": 1, "is_h5": 0 }, { "h5_url": "", "img_path": "http://yun-pay.hs499.com/upload//202101/1610164736532.png", "method_name": "payment_circle", "is_can_link": 1, "is_h5": 0 } ], "title": "精选推荐", "tips": "至尊会员有多强大?" }, "isIdentifyVerify": 2, "is_show_gift_dialog": 0, "home_user_name": "胡林" } }