Skip to content

Commit 6c72341

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent b77009c commit 6c72341

File tree

10 files changed

+20
-7
lines changed

10 files changed

+20
-7
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Change log
22

3+
2025-11-27 Bumped to version v1.0.249
4+
- Updated apis for sdk
5+
36
2025-11-20 Bumped to version v1.0.248
47
- Updated apis for vod
58

example/src/main/java/com/volcengine/example/sms/ApplySmsSignatureDemo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static void main(String[] args) throws Exception {
3939
req.setSource(SignSourceType.SignSourceTypeCompany);
4040
req.setDomain("www.xxx.com"); // 必填
4141
req.setPurpose(PurposeType.SignPurposeForOwn);
42-
req.setSignatureIdentificationID(1); // 实名资质id
42+
req.setSignatureIdentificationID(5827123307211L); // 实名资质id(类型从int转成long)
4343
SignAuthFile filePgn = new SignAuthFile(DocType.ThreeInOne, Base64.getEncoder().encodeToString(bytes), ImageType.JPG.getImageType());
4444
req.setUploadFileList(new ArrayList<>(Collections.singletonList(filePgn)));
4545
try {

example/src/main/java/com/volcengine/example/sms/ApplySmsSignatureV2Demo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static void main(String[] args) throws IOException {
3434
req.setSource(SignSourceTypeV2.SignSourceTypeApp);
3535
req.setDomain("www.xxx.com");
3636
req.setPurpose(PurposeType.SignPurposeForOwn);
37-
req.setSignatureIdentificationID(1); // 实名资质id
37+
req.setSignatureIdentificationID(5827123307211L); // 实名资质id(类型从int转成long)
3838
SignAuthFile appIcpFileList = new SignAuthFile(DocType.AppIcpCertificate, "", ImageType.JPG.getImageType(), "http://wechatapppro.com/cdba1974330.jpg");
3939
AppIcp appIcp = new AppIcp();
4040
appIcp.setAppIcpFileList(new ArrayList<>(Collections.singletonList(appIcpFileList)));

example/src/main/java/com/volcengine/example/sms/UpdateSmsSignatureDemo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static void main(String[] args) throws IOException {
3333
req.setSource(SignSourceTypeV2.SignSourceTypeApp);
3434
req.setDomain("www.xxx.com");
3535
req.setPurpose(PurposeType.SignPurposeForOwn);
36-
req.setSignatureIdentificationID(1); // 实名资质id
36+
req.setSignatureIdentificationID(5827123307211L); // 实名资质id(类型从int转成long)
3737
SignAuthFile appIcpFileList = new SignAuthFile(DocType.AppIcpCertificate, "", ImageType.JPG.getImageType(), "http://wechatapppr/fda5cf6cdba1974330.jpg");
3838
AppIcp appIcp = new AppIcp();
3939
appIcp.setAppIcpFileList(new ArrayList<>(Collections.singletonList(appIcpFileList)));

volc-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.volcengine</groupId>
7-
<version>1.0.248</version>
7+
<version>1.0.249</version>
88
<artifactId>volc-sdk-java</artifactId>
99

1010
<name>volc-sdk-java</name>

volc-sdk-java/src/main/java/com/volcengine/model/request/ApplySmsSignatureRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ public class ApplySmsSignatureRequest {
4141
String from;
4242

4343
@JSONField(name = "signatureIdentificationID")
44-
int signatureIdentificationID;
44+
long signatureIdentificationID;
4545
}

volc-sdk-java/src/main/java/com/volcengine/model/request/ApplySmsSignatureV2Request.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ApplySmsSignatureV2Request {
3636
String from;
3737

3838
@JSONField(name = "signatureIdentificationID")
39-
int signatureIdentificationID;
39+
long signatureIdentificationID;
4040

4141
@JSONField(name = "appIcp")
4242
AppIcp appIcp;

volc-sdk-java/src/main/java/com/volcengine/model/request/UpdateSmsSignatureRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class UpdateSmsSignatureRequest {
3939

4040

4141
@JSONField(name = "signatureIdentificationID")
42-
int signatureIdentificationID;
42+
long signatureIdentificationID;
4343

4444
@JSONField(name = "scene")
4545
String scene;

volc-sdk-java/src/main/java/com/volcengine/model/response/RcCustomRiskAsyncResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import com.alibaba.fastjson.annotation.JSONField;
44
import lombok.Data;
55

6+
import java.util.Map;
7+
68
@Data
79
public class RcCustomRiskAsyncResponse {
810

@@ -46,6 +48,9 @@ public static class CustomRiskData {
4648
@JSONField(name = "DecisionReason")
4749
private String DecisionReason;
4850

51+
@JSONField(name = "Detail")
52+
private Map<String, Object> Detail;
53+
4954
@JSONField(name = "PassThrough")
5055
private String PassThrough;
5156

volc-sdk-java/src/main/java/com/volcengine/model/response/RcCustomRiskSyncResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import com.alibaba.fastjson.annotation.JSONField;
44
import lombok.Data;
55

6+
import java.util.Map;
7+
68
@Data
79
public class RcCustomRiskSyncResponse {
810

@@ -43,6 +45,9 @@ public static class CustomRiskData {
4345
@JSONField(name = "DecisionReason")
4446
private String DecisionReason;
4547

48+
@JSONField(name = "Detail")
49+
private Map<String, Object> Detail;
50+
4651
}
4752

4853
}

0 commit comments

Comments
 (0)