# G-CAT-01 all-category > [name=JasonWu] ###### tags: `系統功能頁` ## 網址 - https://{domain}/categories-view/all-category.html - ex: https://www.taiwantrade.com/categories-view/all-category.html ## 原版程式 ## 頁面功能說明 - 透過 api 取得頁面所需資料 - 顯示對應的分類別,點選後,連結到型錄查詢條列頁,條件會帶入對應的分類 id  - 使用者提出需要類似下圖的需求,透過 api 取得資料後,於上方顯示第一層的分類,點選後跳轉到對應的項目  ## cateAll api ### 規格 - path : ${TT-API網址}/categoryview/all/{did}/{langId} - method : GET ### API 邏輯 - 取得頁面 all categories 相關資料 ### Input Column | Type | Require | Desc -----------|----------|---------|--------- did | number | Y | 頁面domain id langId | number | Y | 語系id ### Output - json 內容如下: ```=json ``` ### 取值方式 - 透過 sql 取值 ``` ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up