yihaitao/kuaimai

1.0.2 2024-11-27 04:36 UTC

This package is auto-updated.

Last update: 2024-11-27 04:37:21 UTC


README

https://open-doc.kuaimai.com

安装

$ composer require yihaitao/kuaimai -vvv

使用

<?php

use YiHaiTao\KuaiMai\KuaiMai;

$config = [
    'app_key' => 'your-key',
    'app_secret' => 'your-secret',
    'access_token' => 'your-access-token',
    'base_url' => 'https://gw.superboss.cc/router',
];

// 实例化快麦sdk
$km = new KuaiMai($config);
// 使用如下
$km->request('method', $params);

// 例子
$result = $km->request('erp.trade.create.new', $params);
print_r($result);

License

MIT