京东云
This commit is contained in:
34
vendor/jdcloud-api/jdcloud-sdk-php/src/Cloudauth/ChangeLog.md
vendored
Normal file
34
vendor/jdcloud-api/jdcloud-sdk-php/src/Cloudauth/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# 更新历史 #
|
||||
API版本:1.0.0
|
||||
|
||||
1.0.3:
|
||||
Date: 2020-07-16
|
||||
更新: 将打款验证的chekInfo 的 paymentAmount 参数类型由 float 改为 string
|
||||
|
||||
1.0.5:
|
||||
Date: 2023-06-29
|
||||
更新: 新增运营后台接口
|
||||
|
||||
1.0.6:
|
||||
Date: 2023-09-21
|
||||
更新: 新增身份证OCR接口,去掉代理人认证,法人和代理人认证
|
||||
|
||||
1.0.7:
|
||||
Date: 2023-11-01
|
||||
更新: 新增企业法人详版接口
|
||||
|
||||
1.0.8:
|
||||
Date: 2023-12-12
|
||||
更新: 增加chargeFlag字段
|
||||
|
||||
1.0.9:
|
||||
Date: 2024-01-19
|
||||
更新: 增加一键登录、对公打款状态查询接口,身份证OCR去掉side参数
|
||||
|
||||
1.0.10:
|
||||
Date: 2024-02-20
|
||||
更新: 增加银行卡三四要素详版接口,企业二要素去掉组织机构代码
|
||||
|
||||
1.0.11:
|
||||
Date: 2024-03-12
|
||||
更新: 增加银行卡三四要素非身份证版接口
|
||||
92
vendor/jdcloud-api/jdcloud-sdk-php/src/Cloudauth/CloudauthClient.php
vendored
Normal file
92
vendor/jdcloud-api/jdcloud-sdk-php/src/Cloudauth/CloudauthClient.php
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
/**
|
||||
* Cloudauth
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Cloudauth
|
||||
* @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\Cloudauth;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with cloudauth.
|
||||
*
|
||||
* @method \Jdcloud\Result personalAuth(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalAuthAsync(array $args = [])
|
||||
* @method \Jdcloud\Result personalMobile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalMobileAsync(array $args = [])
|
||||
* @method \Jdcloud\Result personalBankcard3Detail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalBankcard3DetailAsync(array $args = [])
|
||||
* @method \Jdcloud\Result personalBankcard3Other(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalBankcard3OtherAsync(array $args = [])
|
||||
* @method \Jdcloud\Result personalBankcard4Detail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalBankcard4DetailAsync(array $args = [])
|
||||
* @method \Jdcloud\Result personalBankcard4Other(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise personalBankcard4OtherAsync(array $args = [])
|
||||
* @method \Jdcloud\Result companyTransfer(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise companyTransferAsync(array $args = [])
|
||||
* @method \Jdcloud\Result checkCompanyTransfer(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkCompanyTransferAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryCompanyTransfer(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryCompanyTransferAsync(array $args = [])
|
||||
* @method \Jdcloud\Result checkCompanyInfo(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkCompanyInfoAsync(array $args = [])
|
||||
* @method \Jdcloud\Result checkLegalPerson(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkLegalPersonAsync(array $args = [])
|
||||
* @method \Jdcloud\Result checkLegalPersonDetail(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkLegalPersonDetailAsync(array $args = [])
|
||||
* @method \Jdcloud\Result checkCompanyInfo3(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkCompanyInfo3Async(array $args = [])
|
||||
* @method \Jdcloud\Result queryCityList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryCityListAsync(array $args = [])
|
||||
* @method \Jdcloud\Result companyTransferSimple(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise companyTransferSimpleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryProvinceList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryProvinceListAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryBankList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryBankListAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryBankBranchList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryBankBranchListAsync(array $args = [])
|
||||
* @method \Jdcloud\Result iDCard(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise iDCardAsync(array $args = [])
|
||||
* @method \Jdcloud\Result getAliveUrl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAliveUrlAsync(array $args = [])
|
||||
* @method \Jdcloud\Result getAliveResult(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAliveResultAsync(array $args = [])
|
||||
* @method \Jdcloud\Result oneClick(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise oneClickAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeApplyStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeApplyStatusAsync(array $args = [])
|
||||
*/
|
||||
class CloudauthClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'cloudauth',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'cloudauth'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user