对比页面详情页
GET
index/compare/compare
请求参数
参数名
类型
描述
必填
product_id
string
例子:product_id ='1,2,3' 手机端只能存两个id ,PC端最多存5个id
必填
响应参数
参数名
类型
描述
必填
id
奶粉编号
必填
brand
品牌名称
必填
series
系列名称
必填
name
奶粉名称
必填
age
试用年龄
必填
select_unit
选择单位 ,此选择单位指 100g 100ml 指当前单位含量内包含营养成分的含量
必填
level
段位
必填
thumbnail
图片路径
必填
thumbnail_alt
图片描述
可选
specs
规格
必填
price
价格
必填
m_source
奶源
必填
version
奶粉版本
必填
factory
生产厂家
必填
register_num
生产编号
必填
operators
公司
必填
mixture
组成成分
必填
m_source_com
奶源对比
必填
material_com
原料对比
必填
content
number
含量
必填
ingredient_id
number
成分id
必填
cate_id
number
类别id 4/基础营养 5/矿物质 6/卫生素 7/可选成分
必填
desc
string
描述
必填
ingredient_name
string
成分名称
必填
unit
string
单位
必填
com_detail_seo_keyword
seo
必填
com_detail_seo_content
seo
必填
com_detail_seo_description
seo
必填