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 1
1
Change log
2
2
3
+ 2025-04-17 Bumped to version v1.0.216
4
+ - Updated apis for vikingDB/vms
5
+
3
6
2025-04-10 Bumped to version v1.0.215
4
7
- Updated apis for imagex/vms/vod
5
8
Original file line number Diff line number Diff line change 4
4
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
5
<modelVersion >4.0.0</modelVersion >
6
6
<groupId >com.volcengine</groupId >
7
- <version >1.0.215 </version >
7
+ <version >1.0.216 </version >
8
8
<artifactId >volc-sdk-java</artifactId >
9
9
10
10
<name >volc-sdk-java</name >
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ public class TaskType {
4
4
public static final String DataImport = "data_import" ;
5
5
public static final String FilterDelete = "filter_delete" ;
6
6
public static final String DataExport = "data_export" ;
7
+ public static final String FilterUpdate = "filter_update" ;
7
8
}
Original file line number Diff line number Diff line change @@ -337,6 +337,20 @@ public class VmsConfig {
337
337
}
338
338
}
339
339
));
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
+ ));
340
354
put ("NumberPoolList" , new ApiInfo (new HashMap <String , Object >() {
341
355
{
342
356
put (Const .Method , Const .POST );
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ public interface VmsService extends IBaseService {
50
50
51
51
OperationResponse updateAXYB (UpdateAXYBRequest request ) throws Exception ;
52
52
53
+ RouteAAuthResponse routeAAuth (RouteAAuthRequest request ) throws Exception ;
54
+
53
55
/**
54
56
* 查询号码池列表
55
57
*
Original file line number Diff line number Diff line change @@ -226,6 +226,15 @@ public OperationResponse updateAXYB(UpdateAXYBRequest request) throws Exception
226
226
return JSON .parseObject (response .getData (), OperationResponse .class );
227
227
}
228
228
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
+
229
238
@ Override
230
239
public NumberPoolListResponse queryNumberPoolList (NumberPoolListRequest request ) throws Exception {
231
240
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 {
37
37
38
38
private String qualificationNo ;
39
39
40
- private String currentBindCount ;
40
+ private Integer currentBindCount ;
41
41
}
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