yihaitao / zhisheng
吱声会员频道SDK
1.0.3
2025-02-26 11:12 UTC
Requires
- php: ^7.0|^8.0
- ext-iconv: *
- ext-json: *
- hanson/foundation-sdk: ^5.0
README
https://shenghuohao.yuque.com/vtztm0/asg3ce/fqaknx45vqi4gzvg?singleDoc#wFCXj
安装
$ composer require yihaitao/zhisheng -vvv
使用
<?php use YiHaiTao\ZhiSheng\ZhiSheng; $config = [ 'app_key' => 'your-key', 'app_secret' => 'your-secret', 'access_token' => 'your-access-token', 'base_url' => 'https://service-api.shop.zhisheng.com/api/fmcg/erp', ]; // 实例化吱声sdk $erp = new ZhiSheng($config); // 使用如下 $erp->request('method', $params); // 例子 $result = $erp->request('ju-hui-order-list', $params); print_r($result);
License
MIT