京东云

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,54 @@
<?php
/**
* Bri
*
* @category Jdcloud
* @package Jdcloud\Bri
* @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\Bri;
use Jdcloud\JdCloudClient;
use Jdcloud\Api\Service;
use Jdcloud\Api\DocModel;
use Jdcloud\Api\ApiProvider;
use Jdcloud\PresignUrlMiddleware;
/**
* Client used to interact with bri.
*
* @method \Jdcloud\Result describeBWList(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeBWListAsync(array $args = [])
* @method \Jdcloud\Result setBWList(array $args = [])
* @method \GuzzleHttp\Promise\Promise setBWListAsync(array $args = [])
* @method \Jdcloud\Result delBWList(array $args = [])
* @method \GuzzleHttp\Promise\Promise delBWListAsync(array $args = [])
* @method \Jdcloud\Result creditScore(array $args = [])
* @method \GuzzleHttp\Promise\Promise creditScoreAsync(array $args = [])
*/
class BriClient extends JdCloudClient
{
public function __construct(array $args)
{
$args['with_resolved'] = function (array $args) {
$this->getHandlerList()->appendInit(
PresignUrlMiddleware::wrap(
$this,
$args['endpoint_provider'],
[
'operations' => [
],
'service' => 'bri',
'presign_param' => 'PresignedUrl',
]
),
'bri'
);
};
parent::__construct($args);
}
}

View File

@@ -0,0 +1,7 @@
# 更新历史 #
API版本1.1.0
|发布时间|版本号|更新|说明|
|---|---|---|---|
|2020-07-20|1.0.0|初始版本|* API及分组定义基础接口|
|2021-03-25|1.1.0|更新版本|* API新增返回数据|