京东云

This commit is contained in:
“wanyongkang”
2024-05-28 17:04:50 +08:00
parent f644932afb
commit f3c7432100
672 changed files with 209344 additions and 6593 deletions

View File

@@ -0,0 +1,45 @@
2019-12-17 version: 1.1.4
1. 查询服务商下每个客户消费数据接口添加pin条件
2019-12-05 version: 1.1.3
1. 按业绩返还,支持按多个产品的业绩返还
2019-10-10 version: 1.1.2
1. 增加运营后台添加客户
2019-09-29 version: 1.1.1
1. 新增返还权限功能
2019-09-27 version: 1.1.0
1. 增加自建平台查账API
2019-08-23 version: 1.0.9
1. 增加增加接收退款订单
2019-08-23 version: 1.0.8
1. 企业账号相关改造
2019-07-31 version: 1.0.7
1. 新增自建平台查账相关API
2019-03-12 version: 1.0.6
1. 添加合作伙伴相关API
2019-01-22 version: 1.0.5
1. 修改查询业绩查询API
2018-12-03 version: 1.0.4
1. 新增查询运营端商业绩查询API
2018-12-03 version: 1.0.3
1. 新增查询服务商业绩查询API
2018-10-16 version: 1.0.2
1. 新增查询部门列表API
2018-10-16 version: 1.0.1
1. 查询服务商信息新增最大层级
2018-09-04 version: 0.1.0
1. 初始版本

View File

@@ -0,0 +1,54 @@
<?php
/**
* Partner
*
* @category Jdcloud
* @package Jdcloud\Partner
* @author Jdcloud <jdcloud-api@jd.com>
* @license Apache-2.0 http://www.apache.org/licenses/LICENSE-2.0
* @link https://www.jdcloud.com/help/faq
*/
namespace Jdcloud\Partner;
use Jdcloud\JdCloudClient;
use Jdcloud\Api\Service;
use Jdcloud\Api\DocModel;
use Jdcloud\Api\ApiProvider;
use Jdcloud\PresignUrlMiddleware;
/**
* Client used to interact with partner.
*
* @method \Jdcloud\Result queryMyCustomerList(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryMyCustomerListAsync(array $args = [])
* @method \Jdcloud\Result getTotalConsumption(array $args = [])
* @method \GuzzleHttp\Promise\Promise getTotalConsumptionAsync(array $args = [])
* @method \Jdcloud\Result getEachConsumption(array $args = [])
* @method \GuzzleHttp\Promise\Promise getEachConsumptionAsync(array $args = [])
* @method \Jdcloud\Result describeCustomerBillByProduct(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeCustomerBillByProductAsync(array $args = [])
*/
class PartnerClient extends JdCloudClient
{
public function __construct(array $args)
{
$args['with_resolved'] = function (array $args) {
$this->getHandlerList()->appendInit(
PresignUrlMiddleware::wrap(
$this,
$args['endpoint_provider'],
[
'operations' => [
],
'service' => 'partner',
'presign_param' => 'PresignedUrl',
]
),
'partner'
);
};
parent::__construct($args);
}
}