hgs/openapi

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hgs/openapi

dev-master 2021-06-07 10:58 UTC

This package is auto-updated.

Last update: 2025-12-07 20:44:36 UTC


README

安装vendor publish

 composer require laravelista/lumen-vendor-publish:7.x
 app\Console\Kernel.php 中加入 VendorPublishCommand::class

安装hgs/openapi

 composer require hgs/openapi dev-master
 bootstrap/app.php中注册提供者$app->register(Hgs\Openapi\OpenapiServiceProvider::class);
 php artisan vendor:publish
 php artisan migrate

使用

    $orderApiGateway = BusinessApiGatewayFactory::getTiktokBusinessApiGateway(Order::class, env("TIKTOK_STORE_APP_KEY"), env("TIKTOK_STORE_APP_SECRET"), 1);
    $data = $orderApiGateway->orderList();