Skip to content

Commit 6613681

Browse files
add updates
1 parent d7eb501 commit 6613681

10 files changed

Lines changed: 1373 additions & 6 deletions

File tree

src/Cloudauth/ChangeLog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,15 @@ Date: 2023-11-01
2020
1.0.8:
2121
Date: 2023-12-12
2222
更新: 增加chargeFlag字段
23+
24+
1.0.9:
25+
Date: 2024-01-19
26+
更新: 增加一键登录、对公打款状态查询接口,身份证OCR去掉side参数
27+
28+
1.0.10:
29+
Date: 2024-02-20
30+
更新: 增加银行卡三四要素详版接口,企业二要素去掉组织机构代码
31+
32+
1.0.11:
33+
Date: 2024-03-12
34+
更新: 增加银行卡三四要素非身份证版接口

src/Cloudauth/CloudauthClient.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,20 @@
2424
* @method \GuzzleHttp\Promise\Promise personalAuthAsync(array $args = [])
2525
* @method \Jdcloud\Result personalMobile(array $args = [])
2626
* @method \GuzzleHttp\Promise\Promise personalMobileAsync(array $args = [])
27+
* @method \Jdcloud\Result personalBankcard3Detail(array $args = [])
28+
* @method \GuzzleHttp\Promise\Promise personalBankcard3DetailAsync(array $args = [])
29+
* @method \Jdcloud\Result personalBankcard3Other(array $args = [])
30+
* @method \GuzzleHttp\Promise\Promise personalBankcard3OtherAsync(array $args = [])
31+
* @method \Jdcloud\Result personalBankcard4Detail(array $args = [])
32+
* @method \GuzzleHttp\Promise\Promise personalBankcard4DetailAsync(array $args = [])
33+
* @method \Jdcloud\Result personalBankcard4Other(array $args = [])
34+
* @method \GuzzleHttp\Promise\Promise personalBankcard4OtherAsync(array $args = [])
2735
* @method \Jdcloud\Result companyTransfer(array $args = [])
2836
* @method \GuzzleHttp\Promise\Promise companyTransferAsync(array $args = [])
2937
* @method \Jdcloud\Result checkCompanyTransfer(array $args = [])
3038
* @method \GuzzleHttp\Promise\Promise checkCompanyTransferAsync(array $args = [])
39+
* @method \Jdcloud\Result queryCompanyTransfer(array $args = [])
40+
* @method \GuzzleHttp\Promise\Promise queryCompanyTransferAsync(array $args = [])
3141
* @method \Jdcloud\Result checkCompanyInfo(array $args = [])
3242
* @method \GuzzleHttp\Promise\Promise checkCompanyInfoAsync(array $args = [])
3343
* @method \Jdcloud\Result checkLegalPerson(array $args = [])
@@ -52,6 +62,8 @@
5262
* @method \GuzzleHttp\Promise\Promise getAliveUrlAsync(array $args = [])
5363
* @method \Jdcloud\Result getAliveResult(array $args = [])
5464
* @method \GuzzleHttp\Promise\Promise getAliveResultAsync(array $args = [])
65+
* @method \Jdcloud\Result oneClick(array $args = [])
66+
* @method \GuzzleHttp\Promise\Promise oneClickAsync(array $args = [])
5567
* @method \Jdcloud\Result describeApplyStatus(array $args = [])
5668
* @method \GuzzleHttp\Promise\Promise describeApplyStatusAsync(array $args = [])
5769
*/

src/Cloudsign/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 更新历史 #
22
| 发布时间 | 版本号 | 更新 | 说明 |
33
| ---------------| -----------|-----------|---------|
4+
| 2024-01-30 | 2.0.7 | 电子签章新版本sdk | |
45
| 2023-09-22 | 2.0.6 | 增加盖章位置参数 | |
56
| 2023-06-16 | 2.0.5 | 增加获取存证报告接口 | |
67
| 2023-05-15 | 2.0.4 | 添加页面签署功能,兼容已有api签署接口 | |

src/Cloudsign/CloudsignClient.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@
3030
* @method \GuzzleHttp\Promise\Promise verifyContractAsync(array $args = [])
3131
* @method \Jdcloud\Result deleteContract(array $args = [])
3232
* @method \GuzzleHttp\Promise\Promise deleteContractAsync(array $args = [])
33+
* @method \Jdcloud\Result describeContractList(array $args = [])
34+
* @method \GuzzleHttp\Promise\Promise describeContractListAsync(array $args = [])
35+
* @method \Jdcloud\Result signContract(array $args = [])
36+
* @method \GuzzleHttp\Promise\Promise signContractAsync(array $args = [])
37+
* @method \Jdcloud\Result verifyContract(array $args = [])
38+
* @method \GuzzleHttp\Promise\Promise verifyContractAsync(array $args = [])
39+
* @method \Jdcloud\Result downloadContracts(array $args = [])
40+
* @method \GuzzleHttp\Promise\Promise downloadContractsAsync(array $args = [])
41+
* @method \Jdcloud\Result deleteContract(array $args = [])
42+
* @method \GuzzleHttp\Promise\Promise deleteContractAsync(array $args = [])
3343
* @method \Jdcloud\Result saveEvidence(array $args = [])
3444
* @method \GuzzleHttp\Promise\Promise saveEvidenceAsync(array $args = [])
3545
* @method \Jdcloud\Result saveMultiEvidence(array $args = [])
@@ -56,6 +66,28 @@
5666
* @method \GuzzleHttp\Promise\Promise downloadStampsAsync(array $args = [])
5767
* @method \Jdcloud\Result deleteStamp(array $args = [])
5868
* @method \GuzzleHttp\Promise\Promise deleteStampAsync(array $args = [])
69+
* @method \Jdcloud\Result editStamp(array $args = [])
70+
* @method \GuzzleHttp\Promise\Promise editStampAsync(array $args = [])
71+
* @method \Jdcloud\Result describeStampHistoryList(array $args = [])
72+
* @method \GuzzleHttp\Promise\Promise describeStampHistoryListAsync(array $args = [])
73+
* @method \Jdcloud\Result describeTemplateList(array $args = [])
74+
* @method \GuzzleHttp\Promise\Promise describeTemplateListAsync(array $args = [])
75+
* @method \Jdcloud\Result uploadTemplate(array $args = [])
76+
* @method \GuzzleHttp\Promise\Promise uploadTemplateAsync(array $args = [])
77+
* @method \Jdcloud\Result downloadTemplates(array $args = [])
78+
* @method \GuzzleHttp\Promise\Promise downloadTemplatesAsync(array $args = [])
79+
* @method \Jdcloud\Result deleteTemplate(array $args = [])
80+
* @method \GuzzleHttp\Promise\Promise deleteTemplateAsync(array $args = [])
81+
* @method \Jdcloud\Result paddingTemplate(array $args = [])
82+
* @method \GuzzleHttp\Promise\Promise paddingTemplateAsync(array $args = [])
83+
* @method \Jdcloud\Result describeStampList(array $args = [])
84+
* @method \GuzzleHttp\Promise\Promise describeStampListAsync(array $args = [])
85+
* @method \Jdcloud\Result uploadStamp(array $args = [])
86+
* @method \GuzzleHttp\Promise\Promise uploadStampAsync(array $args = [])
87+
* @method \Jdcloud\Result downloadStamps(array $args = [])
88+
* @method \GuzzleHttp\Promise\Promise downloadStampsAsync(array $args = [])
89+
* @method \Jdcloud\Result deleteStamp(array $args = [])
90+
* @method \GuzzleHttp\Promise\Promise deleteStampAsync(array $args = [])
5991
* @method \Jdcloud\Result describeTemplateList(array $args = [])
6092
* @method \GuzzleHttp\Promise\Promise describeTemplateListAsync(array $args = [])
6193
* @method \Jdcloud\Result uploadTemplate(array $args = [])

src/Cp/ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 更新历史 #
2+
API版本:0.1.0
3+
4+
| 发布时间 | 版本号 | 更新 | 说明 |
5+
|------------|-------|------|---------------------------------------|
6+
| 2018-04-23 | 0.1.0 | 初始版本 | * Cooperation Partner 基本接口 |
7+
| 2023-12-07 | 0.2.4 | 新增接口 | * Cooperation Partner 新增接口 |
8+
| 2023-12-07 | 0.2.5 | 变更接口 | * Cooperation Partner 变更接口, 部分接口 对外发布 |

src/Cp/CpClient.php

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
/**
3+
* Cp
4+
*
5+
* @category Jdcloud
6+
* @package Jdcloud\Cp
7+
* @author Jdcloud <jdcloud-api@jd.com>
8+
* @license Apache-2.0 http://www.apache.org/licenses/LICENSE-2.0
9+
* @link https://www.jdcloud.com/help/faq
10+
*/
11+
12+
namespace Jdcloud\Cp;
13+
14+
use Jdcloud\JdCloudClient;
15+
use Jdcloud\Api\Service;
16+
use Jdcloud\Api\DocModel;
17+
use Jdcloud\Api\ApiProvider;
18+
use Jdcloud\PresignUrlMiddleware;
19+
20+
/**
21+
* Client used to interact with cp.
22+
*
23+
* @method \Jdcloud\Result createPartner(array $args = [])
24+
* @method \GuzzleHttp\Promise\Promise createPartnerAsync(array $args = [])
25+
* @method \Jdcloud\Result usercpcheck(array $args = [])
26+
* @method \GuzzleHttp\Promise\Promise usercpcheckAsync(array $args = [])
27+
* @method \Jdcloud\Result setUserGrace(array $args = [])
28+
* @method \GuzzleHttp\Promise\Promise setUserGraceAsync(array $args = [])
29+
* @method \Jdcloud\Result getUserGrace(array $args = [])
30+
* @method \GuzzleHttp\Promise\Promise getUserGraceAsync(array $args = [])
31+
* @method \Jdcloud\Result partnerToken(array $args = [])
32+
* @method \GuzzleHttp\Promise\Promise partnerTokenAsync(array $args = [])
33+
* @method \Jdcloud\Result partnerStsToken(array $args = [])
34+
* @method \GuzzleHttp\Promise\Promise partnerStsTokenAsync(array $args = [])
35+
* @method \Jdcloud\Result checkUser(array $args = [])
36+
* @method \GuzzleHttp\Promise\Promise checkUserAsync(array $args = [])
37+
* @method \Jdcloud\Result sendVerificationCode(array $args = [])
38+
* @method \GuzzleHttp\Promise\Promise sendVerificationCodeAsync(array $args = [])
39+
* @method \Jdcloud\Result createUser(array $args = [])
40+
* @method \GuzzleHttp\Promise\Promise createUserAsync(array $args = [])
41+
* @method \Jdcloud\Result listPartnerUsers(array $args = [])
42+
* @method \GuzzleHttp\Promise\Promise listPartnerUsersAsync(array $args = [])
43+
* @method \Jdcloud\Result createUserAuth(array $args = [])
44+
* @method \GuzzleHttp\Promise\Promise createUserAuthAsync(array $args = [])
45+
*/
46+
class CpClient extends JdCloudClient
47+
{
48+
public function __construct(array $args)
49+
{
50+
$args['with_resolved'] = function (array $args) {
51+
$this->getHandlerList()->appendInit(
52+
PresignUrlMiddleware::wrap(
53+
$this,
54+
$args['endpoint_provider'],
55+
[
56+
'operations' => [
57+
],
58+
'service' => 'cp',
59+
'presign_param' => 'PresignedUrl',
60+
]
61+
),
62+
'cp'
63+
);
64+
};
65+
66+
parent::__construct($args);
67+
}
68+
}

0 commit comments

Comments
 (0)