Objects
About objects
Objects 在 GraphQL 中代表您可以訪問的資源。一個對象可以包含一系列字段,這些字段都有特定的類型。
Archive
文檔詳情,包括文章,產品
Fields
| Name | Description |
|---|---|
| allow_oversold (Boolean) | 是否支持超賣 |
| amount (Int) | |
| canonical_url (String) | |
| cart_id (Int) | |
| category (Category) | |
| category_id (Int) | |
| category_ids ([Int]) | |
| category_titles ([String]) | |
| comment_count (Int) | |
| content (String) | |
| cost_price (Int) | |
| created_time (Int) | |
| description (String) | |
| extra (JSON) | |
| favorable_price (Int) | |
| favorite_count (Int) | |
| fixed_link (String) | |
| flag (String) | |
| has_order_fields (Boolean) | |
| has_ordered (Boolean) | |
| has_password (Boolean) | |
| has_pseudo (Int) | |
| id (Int) | |
| images ([String]) | |
| is_favorite (Boolean) | |
| is_free_shipping (Boolean) | |
| is_wholesale (Boolean) | |
| keyword_id (Int) | |
| keywords (String) | |
| link (String) | |
| logo (String) | |
| module_id (Int) | |
| module_name (String) | |
| need_logistics (Boolean) | |
| option_type (Int) | |
| options ([ArchiveOption]) | |
| order_extra (JSON) | |
| origin_amount (Int) | |
| origin_id (Int) | |
| origin_price (Int) | |
| origin_title (String) | |
| origin_url (String) | |
| parent_id (Int) | |
| password (String) | |
| password_valid (Boolean) | |
| price (Int) | |
| quantity (Int) | |
| read_level (Int) | |
| review_count (Int) | |
| seo_title (String) | |
| sold_count (Int) | |
| sort (Int) | |
| stock (Int) | |
| tags ([Tag]) | |
| template (String) | |
| thumb (String) | |
| title (String) | |
| type (String) | |
| updated_time (Int) | |
| url_token (String) | |
| user_id (Int) | |
| video_url (String) | |
| views (Int) | |
| weight (Float) | |
| weight_unit (String) | |
| wholesale_rule (WholesaleRule) | |
| wholesale_rules ([WholesaleRule]) |
ArchiveList
文檔、產品列表,產品的傳 module_id=2
Fields
| Name | Description |
|---|---|
| items ([Archive]) | |
| page (Int) | |
| total (Int) |
ArchiveOption
產品規格名稱
Fields
| Name | Description |
|---|---|
| archive_id (Int) | |
| created_time (Int) | |
| id (Int) | |
| is_main (Int) | |
| sort (Int) | |
| title (String) | |
| updated_time (Int) | |
| values ([ArchiveOptionValue]) |
ArchiveOptionValue
產品規格選項
Fields
| Name | Description |
|---|---|
| archive_id (Int) | |
| color (String) | |
| created_time (Int) | |
| id (Int) | |
| option_id (Int) | |
| price (Int) | |
| sort (Int) | |
| title (String) | |
| updated_time (Int) |
ArchiveSku
產品規格SKU信息
Fields
| Name | Description |
|---|---|
| archive_id (Int) | |
| barcode (String) | |
| cost_price (Int) | |
| created_time (Int) | |
| hs_code (String) | |
| id (Int) | |
| logo (String) | |
| origin_price (Int) | |
| price (Int) | |
| sku (String) | |
| sold_count (Int) | |
| stock (Int) | |
| symbol (String) | |
| thumb (String) | |
| title (String) | |
| updated_time (Int) | |
| weight (Int) | |
| weight_unit (Int) |
BannerItem
首頁Banner
Fields
| Name | Description |
|---|---|
| alt (String) | |
| description (String) | |
| id (Int) | |
| link (String) | |
| logo (String) | |
| type (String) |
Category
文檔、產品分類
Fields
| Name | Description |
|---|---|
| archive_count (Int) | |
| content (String) | |
| description (String) | |
| detail_template (String) | |
| extra (JSON) | |
| has_children (Boolean) | |
| id (Int) | |
| images ([String]) | |
| is_current (Boolean) | |
| is_inherit (Int) | |
| keywords (String) | |
| link (String) | |
| logo (String) | |
| module_id (Int) | |
| parent_id (Int) | |
| seo_title (String) | |
| sort (Int) | |
| spacer (String) | |
| status (Int) | |
| template (String) | |
| thumb (String) | |
| title (String) | |
| type (Int) | |
| url_token (String) |
Comment
評論
Fields
| Name | Description |
|---|---|
| active (Boolean) | |
| archive_id (Int) | |
| content (String) | |
| created_time (Int) | |
| id (Int) | |
| ip (String) | |
| item_title (String) | |
| parent (Comment) | |
| parent_id (Int) | |
| status (Int) | |
| to_uid (Int) | |
| user_id (Int) | |
| user_name (String) | |
| vote_count (Int) |
CommentList
評論列表
Fields
| Name | Description |
|---|---|
| items ([Comment]) | |
| page (Int) | |
| total (Int) |
ContactSetting
聯系方式
Fields
| Name | Description |
|---|---|
| address (String) | |
| cellphone (String) | |
| email (String) | |
| extra_fields ([ExtraField]) | |
| facebook (String) | |
| instagram (String) | |
| linkedin (String) | |
| pinterest (String) | |
| qq (String) | |
| qrcode (String) | |
| tiktok (String) | |
| twitter (String) | |
| user_name (String) | |
| wechat (String) | |
| whats_app (String) | |
| youtube (String) |
CurrencySetting
貨幣設置
Fields
| Name | Description |
|---|---|
| currency (String) | |
| name (String) | |
| symbol (String) |
CustomField
自定義字段
Fields
| Name | Description |
|---|---|
| content (String) | |
| field_name (String) | |
| follow_level (Boolean) | |
| is_filter (Boolean) | |
| is_system (Boolean) | |
| items ([String]) | |
| name (String) | |
| required (Boolean) | |
| type (String) |
ExtraField
文檔擴展字段
Fields
| Name | Description |
|---|---|
| content (String) | |
| name (String) | |
| remark (String) | |
| type (String) | |
| value (JSON) |
FilterGroup
文檔、產品篩選組
Fields
| Name | Description |
|---|---|
| field_name (String) | |
| items ([FilterItem]) | |
| name (String) | |
| range (Range) |
FilterItem
文檔、產品篩選項
Fields
| Name | Description |
|---|---|
| is_current (Boolean) | |
| label (String) | |
| link (String) | |
| total (Int) |
FriendLink
友情鏈接
Fields
| Name | Description |
|---|---|
| back_link (String) | |
| checked_time (Int) | |
| contact (String) | |
| id (Int) | |
| link (String) | |
| my_link (String) | |
| my_title (String) | |
| nofollow (Int) | |
| remark (String) | |
| sort (Int) | |
| status (Int) | |
| title (String) |
IndexSetting
首頁TDK
Fields
| Name | Description |
|---|---|
| seo_description (String) | |
| seo_keywords (String) | |
| seo_title (String) |
Module
模型信息
Fields
| Name | Description |
|---|---|
| description (String) | |
| id (Int) | |
| is_system (Int) | |
| keywords (String) | |
| link (String) | |
| name (String) | |
| status (Int) | |
| table_name (String) | |
| title (String) | |
| title_name (String) | |
| url_token (String) |
MultiLangSite
多語言站點信息
Fields
| Name | Description |
|---|---|
| base_url (String) | |
| id (Int) | |
| is_current (Boolean) | |
| language (String) | |
| language_emoji (String) | |
| language_icon (String) | |
| language_name (String) | |
| link (String) | |
| name (String) | |
| parent_id (Int) | |
| status (Boolean) | |
| sync_time (Int) |
Nav
導航信息
Fields
| Name | Description |
|---|---|
| description (String) | |
| id (Int) | |
| is_current (Boolean) | |
| level (Int) | |
| link (String) | |
| logo (String) | |
| nav_list ([Nav]) | |
| nav_type (Int) | |
| page_id (Int) | |
| parent_id (Int) | |
| sort (Int) | |
| spacer (String) | |
| status (Int) | |
| style (String) | |
| sub_title (String) | |
| thumb (String) | |
| title (String) | |
| type_id (Int) |
Page
單頁信息
Fields
| Name | Description |
|---|---|
| content (String) | |
| description (String) | |
| id (Int) | |
| images ([String]) | |
| is_current (Boolean) | |
| keywords (String) | |
| link (String) | |
| logo (String) | |
| seo_title (String) | |
| status (Int) | |
| thumb (String) | |
| title (String) | |
| url_token (String) |
PageMeta
獲取當前頁面TDK信息
Fields
| Name | Description |
|---|---|
| canonical_url (String) | |
| current_page (Int) | |
| description (String) | |
| image (String) | |
| keywords (String) | |
| module_id (Int) | |
| nav_bar (Int) | |
| page_id (Int) | |
| page_name (String) | |
| params (JSON) | |
| status_code (Int) | |
| title (String) | |
| total_pages (Int) |
Range
篩選選項范圍,price filter 用到
Fields
| Name | Description |
|---|---|
| max (Int) | |
| min (Int) |
Review
產品評價
Fields
| Name | Description |
|---|---|
| archive_id (Int) | |
| archive_sku_id (Int) | |
| archive_title (String) | |
| avatar_url (String) | |
| content (String) | |
| created_time (Int) | |
| email (String) | |
| id (Int) | |
| images ([String]) | |
| ip (String) | |
| order_id (String) | |
| score (Int) | |
| sku_title (String) | |
| status (Int) | |
| user_id (Int) | |
| user_name (String) |
ReviewList
產品評價列表
Fields
| Name | Description |
|---|---|
| items ([Review]) | |
| page (Int) | |
| total (Int) |
Sku
獲取產品SKU信息
Fields
| Name | Description |
|---|---|
| currency (String) | |
| currency_symbol (String) | |
| has_sku (Boolean) | |
| id (Int) | |
| max_price (Int) | |
| min_price (Int) | |
| options ([ArchiveOption]) | |
| order_count (Int) | |
| price (Int) | |
| quota_used (Int) | |
| skus ([ArchiveSku]) | |
| stock (Int) | |
| thumb (String) | |
| title (String) | |
| user_limit (Int) | |
| wholesale_rules ([WholesaleRule]) |
SystemSetting
系統設置
Fields
| Name | Description |
|---|---|
| admin_url (String) | |
| ban_spider (Int) | |
| base_url (String) | |
| currency (String) | |
| default_site (Boolean) | |
| extra_fields ([ExtraField]) | |
| favicon (String) | |
| language (String) | |
| mobile_url (String) | |
| site_close (Int) | |
| site_close_tips (String) | |
| site_copyright (String) | |
| site_icp (String) | |
| site_logo (String) | |
| site_name (String) | |
| template_name (String) | |
| template_type (Int) | |
| template_url (String) |
Tag
文檔標簽
Fields
| Name | Description |
|---|---|
| category_id (Int) | |
| category_title (String) | |
| content (String) | |
| description (String) | |
| extra (JSON) | |
| first_letter (String) | |
| id (Int) | |
| keywords (String) | |
| link (String) | |
| logo (String) | |
| seo_title (String) | |
| status (Int) | |
| template (String) | |
| thumb (String) | |
| title (String) | |
| url_token (String) |
TagList
文檔標簽列表
Fields
| Name | Description |
|---|---|
| items ([Tag]) | |
| page (Int) | |
| total (Int) |
User
用戶信息
Fields
| Name | Description |
|---|---|
| avatar_url (String) | |
| balance (Int) | |
| email (String) | |
| email_verified (Boolean) | |
| expire_time (Int) | |
| extra (JSON) | |
| full_avatar_url (String) | |
| group (UserGroup) | |
| group_id (Int) | |
| id (Int) | |
| introduce (String) | |
| invite_code (String) | |
| is_retailer (Int) | |
| last_login (Int) | |
| link (String) | |
| parent_id (Int) | |
| phone (String) | |
| real_name (String) | |
| status (Int) | |
| token (String) | |
| total_reward (Int) | |
| url_token (String) | |
| user_name (String) |
UserGroup
用戶組
Fields
| Name | Description |
|---|---|
| description (String) | |
| favorable_price (Int) | |
| id (Int) | |
| level (Int) | |
| price (Int) | |
| setting (UserGroupSetting) | |
| status (Int) | |
| title (String) |
UserGroupSetting
用戶組設置
Fields
| Name | Description |
|---|---|
| content_no_captcha (Boolean) | |
| content_no_verify (Boolean) | |
| discount (Int) | |
| expire_day (Int) | |
| parent_reward (Int) | |
| share_reward (Int) |
WholesaleRule
批發規則
Fields
| Name | Description |
|---|---|
| archive_id (Int) | |
| created_time (Int) | |
| discount_rate (Int) | |
| id (Int) | |
| max_quantity (Int) | |
| min_quantity (Int) | |
| sku_id (Int) | |
| updated_time (Int) |