ledc / jun-meng
杭州君梦供应链服务有限公司OMS系统SDK
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/ledc/jun-meng
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- ledc/support-sdk: ^7.4
- topthink/framework: >=6.0
This package is auto-updated.
Last update: 2025-10-22 09:01:27 UTC
README
安装
composer require ledc/jun-meng
使用
开箱即用,只需要传入一个配置,初始化一个实例即可:
use Ledc\JunMeng\Config; use Ledc\JunMeng\JunMengClient; $config = [ 'warehouse_no' => '仓库编码', 'customer_no' => '客户编码', 'secret' => '密钥', 'production' => '生产环境接口地址', 'debug' => false // 是否调试模式 ]; $client = new JunMengClient(new Config($config));
在创建实例后,所有的方法都可以有IDE自动补全;例如:
$client->post($method, $query_params, $params);
