文档
测试

获取首页数据

GET
http://xydt.hangbang.com/api/v2/index

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:获取首页数据成功
必填
data
object
数据字典
必填
bannerList
array
数据列表
必填
id
int
示例:25
必填
banner_name
string
示例:抗感颗粒促销活动
必填
image_url
string
示例:http://drugstore.hanbangyy.com//user//image/a21c923d97b7bfde9d890fed9ecfe01f.jpg
必填
url
string
示例:https://mp.weixin.qq.com/s/QHElCXBdkQyUlxoMlx4Ukg
必填
add_time
int
示例:1583487156
必填
if_show
int
示例:1
必填
link_type
int
示例:1
必填
app_id
object
示例:null
必填
nav_list
array
数据列表
必填
name
string
示例:找产品
必填
nav_url
string
示例:/pages/product/list
必填
nav_list
array
数据列表
必填
name
string
示例:OTC
必填
ico
string
示例:https://img.hanbangyy.com/ynds/index/nav/otc.png
必填
type
int
示例:0
必填
cjzz_list
array
数据列表
必填
factory_id
int
示例:20
必填
logo
string
示例:https://img.hanbangyy.com/ynds/index/cjzz/cj01.png
必填
product_num
int
示例:8
必填
cjzz_num
int
示例:3
必填
spzs_list
array
数据列表
必填
id
int
示例:15
必填
post_invest_id
int
示例:861
必填
path
string
示例:img.hanbangyy.com/xyd/applet/productVideo/video/15970416380000.7639766531753294.mp4
必填
user_id
int
示例:49633
必填
add_time
int
示例:1596439899
必填
num
int
示例:48
必填
video_time
int
示例:219
必填
update_time
int
示例:1597041670
必填
product
object
数据字典
必填
id
int
示例:861
必填
user_id
int
示例:49633
必填
product_id
string
示例:1,2
必填
channel_id
string
示例:2,3
必填
sub_id
string
示例:15,19
必填
invest_area_id
string
示例:620000,710000
必填
usage
object
示例:null
必填
spec
string
示例:测试型号
必填
factory
string
示例:测试厂家
必填
link_mobile
object
示例:null
必填
des
string
示例:测试招商政策
必填
good_name
string
示例:测试产品
必填
good_advan
string
示例:测试优势
必填
add_time
int
示例:1589276399
必填
is_recommend
int
示例:0
必填
view_num
int
示例:79
必填
approval_number
string
示例:测试批准文号
必填
if_open_mobile_link
int
示例:0
必填
goods_tag
int
示例:1
必填
online
int
示例:1
必填
city
object
示例:null
必填
is_video
int
示例:1
必填
time
string
示例:03:39
必填
xx_list
array
数据列表
必填
content_list
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:794
必填
user_id
int
示例:2835
必填
product_id
string
示例:1
必填
channel_id
string
示例:2
必填
sub_id
string
示例:10
必填
invest_area_id
string
示例:110000,120000,130000
必填
usage
object
示例:null
必填
spec
string
示例:每瓶装100毫升
必填
factory
string
示例:贵州汉方药业邮箱公司
必填
link_mobile
object
示例:null
必填
des
string
示例:底价招商
必填
good_name
string
示例:品牌热销产品
必填
good_advan
string
示例:利润高
必填
add_time
int
示例:1595987659
必填
is_recommend
int
示例:0
必填
view_num
int
示例:103
必填
approval_number
string
示例:国药准字
必填
if_open_mobile_link
int
示例:1
必填
goods_tag
int
示例:1
必填
online
int
示例:1
必填
city
string
示例:广东
必填
is_video
int
示例:1
必填
member_id
int
示例:4
必填
type
string
示例:enterprise
必填
end_time
int
示例:1659024000
必填
update_time
int
示例:0
必填
factory_id
int
示例:18
必填
name
string
示例:哈哈全球集团公司
必填
banner
string
示例:https://img.hanbangyy.com/ynds/factory/logo/15972829000000.9068925345770336.png
必填
introduction
string
示例:哈哈哈
必填
register_time
int
示例:1595930731
必填
product_update_time
int
示例:1597715659
必填
logo
string
示例:https://img.hanbangyy.com/ynds/factory/logo/15972828930000.6021274847672644.png
必填
auth_status
int
示例:3
必填
auth_time
int
示例:0
必填
business_license
string
示例:https://img.hanbangyy.com/ynds/factory/business_license/15972828880000.7804875651350611.png
必填
auth_img
string
示例:https://img.hanbangyy.com/ynds/factory/auth/15972828850000.41535437441077083.png
必填
visit_num
int
示例:49
必填
follow_num
int
示例:2
必填
agent_num
int
示例:3
必填
image
array
数据列表
必填
show_time
string
示例:1周前置顶
必填
first_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=1
必填
from
int
示例:1
必填
last_page
int
示例:2
必填
last_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=2
必填
next_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=2
必填
path
string
示例:http://xydt.hangbang.com/api/v2/index
必填
per_page
int
示例:10
必填
prev_page_url
object
示例:null
必填
to
int
示例:10
必填
total
int
示例:16
必填
hotProductList
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:47
必填
carousel_name
string
示例:抗病毒口服液【无糖】
必填
link
string
示例:http://x.hanbangyy.com/Pc/PostInvest/detail/id/705
必填
status
int
示例:2
必填
sort
int
示例:1
必填
edit_time
int
示例:1583308515
必填
add_time
int
示例:1572923925
必填
image
string
示例:http://drugstore.hanbangyy.com//user//image/cc6d7a4b5e09a88731b980a2ec4109b4.png
必填
if_link
int
示例:1
必填
des
object
示例:null
必填
product_id
string
示例:705
必填
first_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=1
必填
from
int
示例:1
必填
last_page
int
示例:2
必填
last_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=2
必填
next_page_url
string
示例:http://xydt.hangbang.com/api/v2/index?page=2
必填
path
string
示例:http://xydt.hangbang.com/api/v2/index
必填
per_page
int
示例:4
必填
prev_page_url
object
示例:null
必填
to
int
示例:4
必填
total
int
示例:8
必填