File tree Expand file tree Collapse file tree 9 files changed +95
-2
lines changed
src/main/java/com/volcengine/service Expand file tree Collapse file tree 9 files changed +95
-2
lines changed Original file line number Diff line number Diff line change 11Change log
22
3+ 2025-04-17 Bumped to version v1.0.216
4+ - Updated apis for vikingDB/vms
5+
362025-04-10 Bumped to version v1.0.215
47- Updated apis for imagex/vms/vod
58
Original file line number Diff line number Diff line change 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.215 </version >
7+ <version >1.0.216 </version >
88 <artifactId >volc-sdk-java</artifactId >
99
1010 <name >volc-sdk-java</name >
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ public class TaskType {
44 public static final String DataImport = "data_import" ;
55 public static final String FilterDelete = "filter_delete" ;
66 public static final String DataExport = "data_export" ;
7+ public static final String FilterUpdate = "filter_update" ;
78}
Original file line number Diff line number Diff line change @@ -337,6 +337,20 @@ public class VmsConfig {
337337 }
338338 }
339339 ));
340+ put ("RouteAAuth" , new ApiInfo (
341+ new HashMap <String , Object >() {
342+ {
343+ put (Const .Method , Const .POST );
344+ put (Const .Path , DEFAULT_PATH );
345+ put (Const .Query , new ArrayList <NameValuePair >() {
346+ {
347+ add (new BasicNameValuePair (ACTION , "RouteAAuth" ));
348+ add (new BasicNameValuePair (VERSION , DEFAULT_VERSION ));
349+ }
350+ });
351+ }
352+ }
353+ ));
340354 put ("NumberPoolList" , new ApiInfo (new HashMap <String , Object >() {
341355 {
342356 put (Const .Method , Const .POST );
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ public interface VmsService extends IBaseService {
5050
5151 OperationResponse updateAXYB (UpdateAXYBRequest request ) throws Exception ;
5252
53+ RouteAAuthResponse routeAAuth (RouteAAuthRequest request ) throws Exception ;
54+
5355 /**
5456 * 查询号码池列表
5557 *
Original file line number Diff line number Diff line change @@ -226,6 +226,15 @@ public OperationResponse updateAXYB(UpdateAXYBRequest request) throws Exception
226226 return JSON .parseObject (response .getData (), OperationResponse .class );
227227 }
228228
229+ @ Override
230+ public RouteAAuthResponse routeAAuth (RouteAAuthRequest request ) throws Exception {
231+ RawResponse response = formPostWithRetry ("RouteAAuth" , Utils .mapToPairList (Utils .paramsToMap (request )));
232+ if (response .getCode () != SdkError .SUCCESS .getNumber ()) {
233+ throw response .getException ();
234+ }
235+ return JSON .parseObject (response .getData (), RouteAAuthResponse .class );
236+ }
237+
229238 @ Override
230239 public NumberPoolListResponse queryNumberPoolList (NumberPoolListRequest request ) throws Exception {
231240 RawResponse response = formPostWithRetry ("NumberPoolList" , Utils .mapToPairList (Utils .paramsToMap (request )));
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ public class Number {
3737
3838 private String qualificationNo ;
3939
40- private String currentBindCount ;
40+ private Integer currentBindCount ;
4141}
Original file line number Diff line number Diff line change 1+ package com .volcengine .service .vms .request ;
2+
3+ import lombok .AllArgsConstructor ;
4+ import lombok .Builder ;
5+ import lombok .Data ;
6+ import lombok .NoArgsConstructor ;
7+
8+ @ Data
9+ @ Builder
10+ @ NoArgsConstructor
11+ @ AllArgsConstructor
12+ public class RouteAAuthRequest {
13+ /**
14+ * 请求唯一id
15+ */
16+ private String requestId ;
17+
18+ /**
19+ * 证件类型
20+ */
21+ private Integer idType ;
22+
23+
24+ /**
25+ * 姓名 AES加密
26+ */
27+ private String name ;
28+
29+ /**
30+ * 号码,AES加密
31+ */
32+ private String phoneNumber ;
33+
34+ /**
35+ * 证件号,AES加密
36+ */
37+ private String idNumber ;
38+
39+ /**
40+ * 现场照片,文件二进制Base64编码后,AES加密
41+ */
42+ private String photo ;
43+ }
Original file line number Diff line number Diff line change 1+ package com .volcengine .service .vms .response ;
2+
3+ import com .alibaba .fastjson .annotation .JSONField ;
4+ import com .volcengine .model .response .ResponseMetadata ;
5+ import lombok .Data ;
6+
7+ @ Data
8+ public class RouteAAuthResponse {
9+ @ JSONField (name = "ResponseMetadata" )
10+ private ResponseMetadata responseMetadata ;
11+
12+ private RouteAAuthResult result ;
13+
14+ @ Data
15+ public static class RouteAAuthResult {
16+
17+ private String code ;
18+
19+ private String message ;
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments