标識展現(detail)

## 接口名稱 标識解析接口 ## 接口描述 查詢解析标識內(nèi)容,返回标識內(nèi)容的Html數(shù)據。 ## 接口地址 https://idr.gdsinsing.com/v2/detail?id={标識碼} ## 調用方式 |方法|數(shù)據類型| |-|-| |[X] GET|[ ] form-data| |[ ] POST|[X] x-www-form-urlencoded| |[ ] PUT|[ ] raw| |[ ] DELETE|| ## 參數(shù)說明(míng) |參數(shù)名|位置|數(shù)據類型|必填|說明(míng)| |-|-|-|-|-| |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="static/css/font-awesome.min.css" type="text/css" rel="stylesheet"> <link href="static/css/def-page-plate.css" type="text/css" rel="stylesheet"> <link href="static/css/ELS_DEFAULT.css" type="text/css" rel="stylesheet"> <script src="static/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="static/picture/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">最大(dà)靜壓</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">生(shēng)産日期</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">佛山(shān)市南海區(qū)玖加玖廚具電(diàn)器(qì)</div> </div> <div class="btns"> </div> </div> <div class="item item-text"> <div class="cont"> <div class="item-label">供應商地址</div> <div class="item-value">廣東省佛山(shān)市桂城南五路西約小(xiǎo)學側</div> </div> <div class="btns"> </div> </div> </div> </div> <div class="footer"> <img src="static/picture/logo_singsin.png"> <!--<h3>廣東鑫興科技有限公司</h3>--> <p>工業互聯網标識公共服務平台</p> <p>由廣東鑫興科技(jì)提供服務</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); }); ```