insite-logic/sunland_listing_integration

dev-master 2020-02-04 22:46 UTC

This package is not auto-updated.

Last update: 2024-09-25 20:21:04 UTC


README

安装

在你的index.php或初始化Silex的地方,包含以下内容以将所有必要的服务注册到Pimple。

$app->register(new \InSiteLogic\Integration\Salesforce\Listing\Silex\ListingIntegrationBundleProvider());

要求

  • 你正在使用某种中间件,该中间件可以正确处理和解析JSON请求到请求体字段。
    • MicroServiceCore项目提供了一个满足此要求的服务提供者:JsonBodyParserServiceProvider
  • 你的相关数据库连接被包装在通过Pimple在以下容器键db可用的ISDBAdapter类中。
  • 你正在使用提供的ServiceControllerServiceProvider来允许将控制器作为服务。

提供

  • 处理列表消息的/api/integration/salesforce POST URL