Skip to content

Commit 5a301a0

Browse files
committed
Update API GetSmsSign: update response param.
1 parent 5f779cf commit 5a301a0

File tree

8 files changed

+62
-23
lines changed

8 files changed

+62
-23
lines changed

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-01-03 Version: 3.1.1
2+
- Update API GetSmsSign: update response param.
3+
- Update API QueryExtCodeSign: update param ExtCode.
4+
- Update API QueryExtCodeSign: update param SignName.
5+
6+
17
2024-10-24 Version: 3.1.0
28
- Support API AddExtCodeSign.
39
- Support API DeleteExtCodeSign.

src/Dysmsapi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ public function deleteSmsTemplate($request)
11591159
}
11601160

11611161
/**
1162-
* @summary 查询卡片发送详情
1162+
* @summary Query card sending details
11631163
* *
11641164
* @param GetCardSmsDetailsRequest $request GetCardSmsDetailsRequest
11651165
* @param RuntimeOptions $runtime runtime options for this request RuntimeOptions
@@ -1219,7 +1219,7 @@ public function getCardSmsDetailsWithOptions($request, $runtime)
12191219
}
12201220

12211221
/**
1222-
* @summary 查询卡片发送详情
1222+
* @summary Query card sending details
12231223
* *
12241224
* @param GetCardSmsDetailsRequest $request GetCardSmsDetailsRequest
12251225
*

src/Models/GetCardSmsDetailsRequest.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,35 @@
99
class GetCardSmsDetailsRequest extends Model
1010
{
1111
/**
12+
* @description Card SMS sending ID, which is the BizCardId field in the response when calling SendCardSms or SendBatchCardSms.
13+
*
1214
* @example 123456^0
1315
*
1416
* @var string
1517
*/
1618
public $bizCardId;
1719

1820
/**
21+
* @description Digital SMS sending ID, which is the BizDigitalId field in the response when calling SendCardSms or SendBatchCardSms.
22+
*
1923
* @example 12346^0
2024
*
2125
* @var string
2226
*/
2327
public $bizDigitId;
2428

2529
/**
30+
* @description Text SMS sending ID, which is the BizSmsId field in the response when calling SendCardSms or SendBatchCardSms.
31+
*
2632
* @example 1234576^0
2733
*
2834
* @var string
2935
*/
3036
public $bizSmsId;
3137

3238
/**
39+
* @description For paginated viewing of sending records, specify the current page number of the sending records.
40+
*
3341
* @example 1
3442
*
3543
* @var int
@@ -42,15 +50,19 @@ class GetCardSmsDetailsRequest extends Model
4250
public $ownerId;
4351

4452
/**
53+
* @description For paginated viewing of sending records, specify the number of card SMS records to display per page.
54+
*
55+
* The value range is 1~50.
4556
* @example 10
4657
*
4758
* @var int
4859
*/
4960
public $pageSize;
5061

5162
/**
52-
* @description This parameter is required.
63+
* @description Domestic phone number that received the SMS. Format: 11-digit phone number, for example, 1390000****.
5364
*
65+
* This parameter is required.
5466
* @example 1390000****
5567
*
5668
* @var string
@@ -68,8 +80,9 @@ class GetCardSmsDetailsRequest extends Model
6880
public $resourceOwnerId;
6981

7082
/**
71-
* @description This parameter is required.
83+
* @description Card SMS sending date, supports querying records from the last 30 days.
7284
*
85+
* This parameter is required.
7386
* @example 20240112
7487
*
7588
* @var string

src/Models/GetCardSmsDetailsResponseBody.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,25 @@
1010
class GetCardSmsDetailsResponseBody extends Model
1111
{
1212
/**
13+
* @description Access denied detail; this field is returned only if the RAM check fails.
14+
*
15+
* @example 无
16+
*
1317
* @var string
1418
*/
1519
public $accessDeniedDetail;
1620

1721
/**
18-
* @description 卡片短信发送结果
22+
* @description Card SMS sending result
1923
*
2024
* @var cardSendDetailDTO
2125
*/
2226
public $cardSendDetailDTO;
2327

2428
/**
25-
* @description 状态码
29+
* @description Request status code.
30+
* OK indicates a successful request.
31+
* For other error codes, see [API Error Codes](https://help.aliyun.com/document_detail/101346.html).
2632
*
2733
* @example OK
2834
*
@@ -31,7 +37,7 @@ class GetCardSmsDetailsResponseBody extends Model
3137
public $code;
3238

3339
/**
34-
* @description 状态描述
40+
* @description Description of the status code.
3541
*
3642
* @example OK
3743
*
@@ -40,6 +46,8 @@ class GetCardSmsDetailsResponseBody extends Model
4046
public $message;
4147

4248
/**
49+
* @description Indicates whether the API call was successful. Values:
50+
* - **true** - **false**
4351
* @example true
4452
*
4553
* @var bool

src/Models/GetCardSmsDetailsResponseBody/cardSendDetailDTO.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class cardSendDetailDTO extends Model
1111
{
1212
/**
13-
* @description 页码
13+
* @description Current page number
1414
*
1515
* @example 1
1616
*
@@ -19,7 +19,7 @@ class cardSendDetailDTO extends Model
1919
public $currentPage;
2020

2121
/**
22-
* @description 页数
22+
* @description Page size
2323
*
2424
* @example 10
2525
*
@@ -28,12 +28,14 @@ class cardSendDetailDTO extends Model
2828
public $pageSize;
2929

3030
/**
31+
* @description List of card SMS sending records
32+
*
3133
* @var records[]
3234
*/
3335
public $records;
3436

3537
/**
36-
* @description 总量
38+
* @description Total count
3739
*
3840
* @example 10
3941
*

src/Models/GetCardSmsDetailsResponseBody/cardSendDetailDTO/records.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class records extends Model
1010
{
1111
/**
12-
* @description 发送错误码
12+
* @description Error code for sending
1313
*
1414
* @example Success
1515
*
@@ -18,7 +18,7 @@ class records extends Model
1818
public $errCode;
1919

2020
/**
21-
* @description 客户传输outId
21+
* @description Customer-transmitted outId
2222
*
2323
* @example 12345678
2424
*
@@ -27,7 +27,7 @@ class records extends Model
2727
public $outId;
2828

2929
/**
30-
* @description 接收短信手机号
30+
* @description Phone number that received the SMS
3131
*
3232
* @example 156****9080
3333
*
@@ -36,7 +36,7 @@ class records extends Model
3636
public $phoneNumber;
3737

3838
/**
39-
* @description 接收时间
39+
* @description Receive date
4040
*
4141
* @example 2024-09-27 11:26:35
4242
*
@@ -45,7 +45,7 @@ class records extends Model
4545
public $receiveDate;
4646

4747
/**
48-
* @description 接收短信类型
48+
* @description Receive SMS type
4949
*
5050
* @example CARD_SMS
5151
*
@@ -54,7 +54,7 @@ class records extends Model
5454
public $receiveType;
5555

5656
/**
57-
* @description 渲染时间
57+
* @description Render date
5858
*
5959
* @example 2024-09-27 12:13:39
6060
*
@@ -63,7 +63,7 @@ class records extends Model
6363
public $renderDate;
6464

6565
/**
66-
* @description 解析状态.。0:未解析;1:解析成功;3:未解析
66+
* @description Render status. 0: Not rendered; 1: Rendered successfully; 3: Not rendered
6767
*
6868
* @example 1
6969
*
@@ -72,7 +72,7 @@ class records extends Model
7272
public $renderStatus;
7373

7474
/**
75-
* @description 短信发送时间
75+
* @description Time when the SMS was sent
7676
*
7777
* @example 2024-09-27 11:26:32
7878
*
@@ -81,7 +81,7 @@ class records extends Model
8181
public $sendDate;
8282

8383
/**
84-
* @description 发送状态 1:发送中;2:发送失败;3:发送成功;4:寻址失败
84+
* @description Sending status. 1: Sending; 2: Send failed; 3: Sent successfully; 4: Addressing failed
8585
*
8686
* @example 3
8787
*
@@ -90,7 +90,7 @@ class records extends Model
9090
public $sendStatus;
9191

9292
/**
93-
* @description 短信内容。只有文本短信有值
93+
* @description SMS content. Only applicable for text messages.
9494
*
9595
* @example 您收到一条短信消息
9696
*
@@ -99,7 +99,7 @@ class records extends Model
9999
public $smsContent;
100100

101101
/**
102-
* @description 模板code
102+
* @description Template code
103103
*
104104
* @example CARD_SMS_6***
105105
*

src/Models/GetSmsSignResponseBody.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ class GetSmsSignResponseBody extends Model
7979
*/
8080
public $qualificationId;
8181

82+
/**
83+
* @var int
84+
*/
85+
public $registerResult;
86+
8287
/**
8388
* @description Explanation of the SMS signature scenario, with a maximum length of 200 characters.
8489
*
@@ -165,6 +170,7 @@ class GetSmsSignResponseBody extends Model
165170
'message' => 'Message',
166171
'orderId' => 'OrderId',
167172
'qualificationId' => 'QualificationId',
173+
'registerResult' => 'RegisterResult',
168174
'remark' => 'Remark',
169175
'requestId' => 'RequestId',
170176
'signCode' => 'SignCode',
@@ -206,6 +212,9 @@ public function toMap()
206212
if (null !== $this->qualificationId) {
207213
$res['QualificationId'] = $this->qualificationId;
208214
}
215+
if (null !== $this->registerResult) {
216+
$res['RegisterResult'] = $this->registerResult;
217+
}
209218
if (null !== $this->remark) {
210219
$res['Remark'] = $this->remark;
211220
}
@@ -268,6 +277,9 @@ public static function fromMap($map = [])
268277
if (isset($map['QualificationId'])) {
269278
$model->qualificationId = $map['QualificationId'];
270279
}
280+
if (isset($map['RegisterResult'])) {
281+
$model->registerResult = $map['RegisterResult'];
282+
}
271283
if (isset($map['Remark'])) {
272284
$model->remark = $map['Remark'];
273285
}

src/Models/QueryExtCodeSignRequest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class QueryExtCodeSignRequest extends Model
1111
/**
1212
* @description 扩展码A3
1313
*
14-
* This parameter is required.
1514
* @example 01
1615
*
1716
* @var string
@@ -50,7 +49,6 @@ class QueryExtCodeSignRequest extends Model
5049
/**
5150
* @description 签名
5251
*
53-
* This parameter is required.
5452
* @example 示例值示例值
5553
*
5654
* @var string

0 commit comments

Comments
 (0)