# C-10 認證燈箱 > [name=JasonWu] ###### tags: `公司資料頁` ## 網址 - https://{domain}/lightbox/certification/{認證id}?companyId={公司id} - ex: https://www.taiwantrade.com/lightbox/certification/884458?companyId=113784 ## 原版程式 ## 頁面功能說明 - 公司認證 ![](https://i.imgur.com/OUvEhVw.jpg) - 透過 api 取得頁面所需資料 - 如果認證有檔案,點選連結可以下載檔案 --- - 型錄認證![](https://i.imgur.com/m6KjMLM.jpg) - 透過 api 取得頁面所需資料 - 點選 Product 時,redirect 到對應的型錄 cp 頁 - 認證相關燈箱,點選 More 時,redirect 到 查詢畫面,認證為對應的查詢條件 - 如果認證有檔案,點選連結可以下載檔案 ## 相關 api 說明 - 目前一頁式有相關的認證 api,可以參考 - LightboxCertCpCompanyCert > 公司認證 - LightboxCertCpProductCert > 型錄認證 - LightboxCertCpThirdCert > 第三方認證 - 預計與本功能有關的 api,會依照上面的方式提供,第三方認證會與公司認證合併 - LightboxCertCpCompanyCert > 公司認證 - LightboxCertCpProductCert > 型錄認證 ## 公司認證 api ### 規格 - path : ${TT-API網址}/cert/company/{did}/{companyId}/{certId}/{langId} - method : GET ### API 邏輯 - 找出公司相關認證資料 ### Input Column | Type | Require | Desc -----------|----------|---------|--------- did | number | Y | domain id companyId | number | Y | 公司id certId | number | Y | 認證id langId | number | Y | 語系id ### Output - json 內容如下: ```=json ``` ### 取值方式 - 透過 sql 取值 ```=idol ``` ## 型錄認證 api ### 規格 - path : ${TT-API網址}/cert/product/{did}/{productId}/{certId}/{langId} - method : GET ### API 邏輯 - 找出型錄相關認證資料 ### Input Column | Type | Require | Desc -----------|----------|---------|--------- productId | number | Y | 型錄id companyId | number | N | 公司id certId | number | Y | 認證id langId | number | Y | 語系id ### Output - json 內容如下: ```=json ``` ### 取值方式 - 透過 sql 取值 ```=idol ```