# G-SITE-01 網站地圖 > [name=JasonWu] ###### tags: `系統功能頁` ## 網址 - https://{domain}/sitemap - ex: https://www.taiwantrade.com/sitemap ## 原版程式 ## 頁面功能說明 - 透過 api 取得頁面所需資料 - 網站建立後,建議透過排程或者是程式去擷取目前該 domain 有哪些頁面,並產生對應的 sitemap 資料儲存起來,api 只提供資料 ## cateAll api ### 規格 - path : ${TT-API網址}/system/sitemap/{did}/{langId} - method : GET ### API 邏輯 - 取得 sitemap 相關資料 ### Input Column | Type | Require | Desc -----------|----------|---------|--------- did | number | Y | 頁面domain id langId | number | Y | 語系id ### Output - json 內容如下: ```=json ``` ### 取值方式 - 透過 sql 取值 ``` ```