CMSDanh mục trang
Page Category Object
Cấu trúc đối tượng danh mục trang tĩnh.
Schema
{
"company_id": 1,
"creator_id": 5,
"id": 10,
"uuid": "abc-123-def",
"identifier": "gioi-thieu",
"name": "Giới thiệu",
"description": "Nhóm các trang giới thiệu công ty",
"display_order": 1,
"parent_id": 0,
"external_id": "",
"avatar_file_id_list": [601],
"avatar_file_list": [
{
"id": 601,
"url": "https://example.com/cat-icon.png"
}
],
"status": 1,
"seo_url": "danh-muc-gioi-thieu",
"seo_title": "Danh mục giới thiệu",
"seo_meta_description": "",
"seo_meta_keyword": "",
"seo_graph_file_id": 0,
"seo_graph_file": { ... },
"seo_canonical": "",
"seo_options": {},
"date_created": 1700000000,
"date_modified": 1700005000
}Field Descriptions
| Tên trường | Kiểu dữ liệu | Mô tả |
|---|---|---|
company_id | integer | ID công ty (shop) |
creator_id | integer | ID người tạo |
id | integer | ID danh mục |
uuid | string | Mã UUID của danh mục |
identifier | string | Định danh duy nhất |
name | string | Tên danh mục |
description | string | Mô tả danh mục |
parent_id | integer | ID danh mục cha (0 nếu là cấp cao nhất) |
external_id | string | Mã tham chiếu hệ thống ngoài |
display_order | float | Thứ tự hiển thị |
status | integer | Trạng thái (1: Enable, 3: Disabled) |
avatar_file_id_list | array | Danh sách ID file ảnh đại diện |
avatar_file_list | array | Danh sách file ảnh đại diện |
seo_url | string | Slug chuẩn SEO |
seo_title, seo_meta_description, seo_meta_keyword | string | Thông tin SEO |
seo_graph_file_id | integer | ID ảnh OpenGraph |
seo_graph_file | object | Ảnh OpenGraph |
seo_canonical | string | URL canonical |
seo_options | object | Tuỳ chọn SEO bổ sung |
date_created | integer | Unix timestamp ngày tạo |
date_modified | integer | Unix timestamp ngày cập nhật |