File tree Expand file tree Collapse file tree 5 files changed +19
-3
lines changed
src/main/java/com/lark/project
service/attachment/builder Expand file tree Collapse file tree 5 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 56
56
< dependency>
57
57
< groupId> com.larksuite.project< /groupId>
58
58
< artifactId> oapi-sdk< /artifactId>
59
- < version> 1.0.18 < /version>
59
+ < version> 1.0.19 < /version>
60
60
< /dependency>
61
61
```
62
62
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.larksuite.project</groupId >
8
8
<artifactId >oapi-sdk</artifactId >
9
- <version >1.0.18 </version >
9
+ <version >1.0.19 </version >
10
10
<build >
11
11
<plugins >
12
12
<plugin >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public interface Constants {
30
30
String HTTP_HEADER_ACCESS_TOKEN = "X-PLUGIN-TOKEN" ;
31
31
32
32
String HTTP_HEADER_IDEM_UUID = "X-IDEM-UUID" ;
33
- String VERSION = "1.0.18 " ;
33
+ String VERSION = "1.0.19 " ;
34
34
35
35
String BASE_URL = "https://project.feishu.cn" ;
36
36
Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ public Builder fieldAlias(String fieldAlias) {
114
114
return this ;
115
115
}
116
116
117
+ public Builder index (Integer index ) {
118
+ this .body .setIndex (index );
119
+ return this ;
120
+ }
121
+
117
122
public UploadAttachmentReq build () {
118
123
return new UploadAttachmentReq (this );
119
124
}
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ public class UploadAttachmentReqBody {
17
17
@ SerializedName ("field_alias" )
18
18
private String fieldAlias ;
19
19
20
+ @ SerializedName ("index" )
21
+ private Integer index ;
22
+
20
23
public File getFile () {
21
24
return file ;
22
25
}
@@ -48,4 +51,12 @@ public String getMimeType() {
48
51
public void setMimeType (String mimeType ) {
49
52
this .mimeType = mimeType ;
50
53
}
54
+
55
+ public Integer getIndex () {
56
+ return index ;
57
+ }
58
+
59
+ public void setIndex (Integer index ) {
60
+ this .index = index ;
61
+ }
51
62
}
You can’t perform that action at this time.
0 commit comments