+++
get:/store/product/get_type
<<<
success
返回示例:
{
"status": 200,
"product_type": [
{
"p_tid": 1,
"product_type_name": "FOHEART-C1"
},
{
"p_tid": 2,
"product_type_name": "FOHEART-TLE"
}
],
"devices_type": [
{
"t_id": 1,
"devices_type_name": "节点",
"model_number": "MC1508"
},
{
"t_id": 2,
"devices_type_name": "插排",
"model_number": "MC1508"
},
{
"t_id": 3,
"devices_type_name": "路由器",
"model_number": "MC1508"
},
{
"t_id": 4,
"devices_type_name": "其他",
"model_number": "MC1508"
}
]
}
返回参数说明:
product_type_name: 产品类型名称
devices_type_name: 设备类型名称
<<<
error
返回示例:
{
'status'=>400,
'message'=>没有类型!'
}
+++