京东云
This commit is contained in:
6
vendor/jdcloud-api/jdcloud-sdk-php/src/Jdw/ChangeLog.md
vendored
Normal file
6
vendor/jdcloud-api/jdcloud-sdk-php/src/Jdw/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# 更新历史 #
|
||||
API版本:1.0.0
|
||||
|
||||
|发布时间|版本号|更新|说明|
|
||||
|---|---|---|---|
|
||||
|2018-11-13|1.0.0|初始版本|* API定义基础接口|
|
||||
46
vendor/jdcloud-api/jdcloud-sdk-php/src/Jdw/JdwClient.php
vendored
Normal file
46
vendor/jdcloud-api/jdcloud-sdk-php/src/Jdw/JdwClient.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* Jdw
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Jdw
|
||||
* @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\Jdw;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with jdw.
|
||||
*
|
||||
*/
|
||||
class JdwClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'jdw',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'jdw'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user