fetchtex/module-faq

不适用

安装: 0

依赖项: 0

建议者: 0

安全: 0

星标: 1

关注者: 1

分支: 2

开放问题: 1

类型:magento2-module

dev-master 2020-04-30 18:45 UTC

This package is auto-updated.

Last update: 2024-09-29 05:55:39 UTC


README

本FAQ模块提供列出带有分类的FAQ。可以通过“内容 > FAQ”部分添加FAQ。

前端使用带有仅搜索功能的Graphql请求。请求通过apollo-boost使用GET方法发送,以便可以在后端进行缓存。

安装模块

composer require fetchtex/module-faq

bin/magento module:enable Fetchtex_FAQs
bin/magento setup:upgrade

示例请求

query myFaq {
  allfaqs(filter: { question:"%Wha%"}) {
    items {
      question
      answer
      category{
        id
        name
      }
    }
    total_count
  }
}

已测试与Magento CE 2.3.4兼容