Based on foundation-sdk
- PHP >= 7.1
- composer
composer require seek-x2y/kidswant-sdk -vvv
$config = [
'common' => [
'loginName' => '',
'appkey' => '',
],
'isDev' => true, // 是否使用测试环境URL
'debug' => true // // 是否查看http请求详情
];
$api = new KidsWant($this->config);
$res = $api['orders']->getOrderList();
var_dump($res);
MIT