标识展现(detail)

## 接口名称 标识解析接口 ## 接口描述 查询解析标识内容,返回标识内容的Html数据。 ## 接口地址 https://idr.gdsinsing.com/v2/detail?id={标识码} ## 调用方式 |方法|数据类型| |-|-| |[X] GET|[ ] form-data| |[ ] POST|[X] x-www-form-urlencoded| |[ ] PUT|[ ] raw| |[ ] DELETE|| ## 参数说明 |参数名|位置|数据类型|必填|说明| |-|-|-|-|-| |id|Params|String|是|标识码| ## 返回结果 #### 成功返回 ```JavaScript <!DOCTYPE html> <html lang="en"> <head> <title>工业互联网标识公共服务平台</title> <meta charset="utf8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=yes" /> <link href="https://static.gdsinsing.com/VM/static/common/css/font-awesome.min.css" type="text/css" rel="stylesheet"> <link href="https://static.gdsinsing.com/VM/admin/css/def-page-plate.css" type="text/css" rel="stylesheet"> <link href="https://static.gdsinsing.com/VM/admin/ELS_DEFAULT/ELS_DEFAULT.css" type="text/css" rel="stylesheet"> <script src="https://static.gdsinsing.com/VM/static/common/js/jquery.min.js" type="application/javascript"></script> </head> <body> <div class="header"> <h1>工业互联网标识公共服务平台</h1> <p>标识码:88.168.788/PDQF-TC093-T</p> </div> <div class="bodyer"> <div class="content"> <div class="item item-imagebig"> <div class="cont"> <div class="item-label"></div> <div class="item-value"> <img src="https://static.gdsinsing.com/2021/20210412/f9006bd7be924e80a5b8fabc84b76571.jpg"></div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label"></div> <div class="item-value">供应商产品信息</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">产品名称</div> <div class="item-value">抽油烟机</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">供应型号</div> <div class="item-value">CXW-258-JC03</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">规格</div> <div class="item-value">800x405x435(mm)</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">材质</div> <div class="item-value">钢化玻璃</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">排风量</div> <div class="item-value">18(m³/min)</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">最大静压</div> <div class="item-value">420(Pa)</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">噪声</div> <div class="item-value">56(dB)</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">生产日期</div> <div class="item-value">2020.9.12</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label"></div> <div class="item-value">供应商信息</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">供应商名称</div> <div class="item-value">佛山市南海区玖加玖厨具电器</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">供应商地址</div> <div class="item-value">广东省佛山市桂城南五路西约小学侧</div> </div> <div class="btns"> </div> </div> </div> </div> <div class="footer"> <img src="https://idr.gdsinsing.com/images/logo_singsin.png"> <!--<h3>广东鑫兴科技有限公司</h3>--> <p>工业互联网标识公共服务平台</p> <p>由广东鑫兴科技提供服务</p> </div> </body> </html> ``` #### 失败返回 ```JavaScript <!DOCTYPE html> <html lang="en"> <head> <title>标识码不存在</title> <meta charset="utf8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes" /> <link href="./css/err-css.css" type="text/css" rel="stylesheet"> </head> <body> <div class="err-panel"> <div class="err-img err02"></div> <div class="err-txt"> <h1>标识码不存在</h1> </div> <div class="err-btn"> <a href="javascript:history.back(-1)">返回</a> </div> </div> </body> </html> ``` ## 调用例子 ``` JavaScript var settings = { "url": "https://idr.gdsinsing.com/detail?id=88.168.788/PDQF-TC093-T", "method": "GET", "timeout": 0, }; $.ajax(settings).done(function (response) { console.log(response); }); ```