京东云

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,11 @@
#更新历史
API版本1.4.0
| 发布时间 | 版本号 | 更新 | 说明 |
| ---------- | ------ | -------- | ------------------------------------------------------------ |
| 2020-10-17 | 1.4.0 | 接口完善 | 修改资质相关接口返回数据格式 |
| 2020-10-13 | 1.3.0 | 接口完善 | 修改模板创建接口名称以兼容老版本 |
| 2020-08-28 | 1.2.0 | 接口完善 | 调整接口参数、返回值格式,增加资质模板增删改查接口 |
| 2019-06-04 | 1.1.0 | 接口完善 | 调整接口参数、返回值格式,增加余量查询接口 |
| 2019-03-20 | 1.0.0 | 初始化 | 初始版本,富媒体短信基本操作接口 |

View File

@@ -0,0 +1,70 @@
<?php
/**
* Rms
*
* @category Jdcloud
* @package Jdcloud\Rms
* @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\Rms;
use Jdcloud\JdCloudClient;
use Jdcloud\Api\Service;
use Jdcloud\Api\DocModel;
use Jdcloud\Api\ApiProvider;
use Jdcloud\PresignUrlMiddleware;
/**
* Client used to interact with rms.
*
* @method \Jdcloud\Result addCredit(array $args = [])
* @method \GuzzleHttp\Promise\Promise addCreditAsync(array $args = [])
* @method \Jdcloud\Result editCredit(array $args = [])
* @method \GuzzleHttp\Promise\Promise editCreditAsync(array $args = [])
* @method \Jdcloud\Result deleteCredit(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteCreditAsync(array $args = [])
* @method \Jdcloud\Result queryCreditList(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryCreditListAsync(array $args = [])
* @method \Jdcloud\Result queryPackageRemainder(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryPackageRemainderAsync(array $args = [])
* @method \Jdcloud\Result sendBatchMsg(array $args = [])
* @method \GuzzleHttp\Promise\Promise sendBatchMsgAsync(array $args = [])
* @method \Jdcloud\Result querySendStatus(array $args = [])
* @method \GuzzleHttp\Promise\Promise querySendStatusAsync(array $args = [])
* @method \Jdcloud\Result addTemplateNew(array $args = [])
* @method \GuzzleHttp\Promise\Promise addTemplateNewAsync(array $args = [])
* @method \Jdcloud\Result editTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise editTemplateAsync(array $args = [])
* @method \Jdcloud\Result deleteTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteTemplateAsync(array $args = [])
* @method \Jdcloud\Result queryTemplateById(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryTemplateByIdAsync(array $args = [])
* @method \Jdcloud\Result queryTemplateList(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryTemplateListAsync(array $args = [])
*/
class RmsClient extends JdCloudClient
{
public function __construct(array $args)
{
$args['with_resolved'] = function (array $args) {
$this->getHandlerList()->appendInit(
PresignUrlMiddleware::wrap(
$this,
$args['endpoint_provider'],
[
'operations' => [
],
'service' => 'rms',
'presign_param' => 'PresignedUrl',
]
),
'rms'
);
};
parent::__construct($args);
}
}