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 5656< dependency>
5757 < groupId> com.larksuite.project< /groupId>
5858 < artifactId> oapi-sdk< /artifactId>
59- < version> 1.0.18 < /version>
59+ < version> 1.0.19 < /version>
6060< /dependency>
6161```
6262
Original file line number Diff line number Diff line change 66
77 <groupId >com.larksuite.project</groupId >
88 <artifactId >oapi-sdk</artifactId >
9- <version >1.0.18 </version >
9+ <version >1.0.19 </version >
1010 <build >
1111 <plugins >
1212 <plugin >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public interface Constants {
3030 String HTTP_HEADER_ACCESS_TOKEN = "X-PLUGIN-TOKEN" ;
3131
3232 String HTTP_HEADER_IDEM_UUID = "X-IDEM-UUID" ;
33- String VERSION = "1.0.18 " ;
33+ String VERSION = "1.0.19 " ;
3434
3535 String BASE_URL = "https://project.feishu.cn" ;
3636
Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ public Builder fieldAlias(String fieldAlias) {
114114 return this ;
115115 }
116116
117+ public Builder index (Integer index ) {
118+ this .body .setIndex (index );
119+ return this ;
120+ }
121+
117122 public UploadAttachmentReq build () {
118123 return new UploadAttachmentReq (this );
119124 }
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ public class UploadAttachmentReqBody {
1717 @ SerializedName ("field_alias" )
1818 private String fieldAlias ;
1919
20+ @ SerializedName ("index" )
21+ private Integer index ;
22+
2023 public File getFile () {
2124 return file ;
2225 }
@@ -48,4 +51,12 @@ public String getMimeType() {
4851 public void setMimeType (String mimeType ) {
4952 this .mimeType = mimeType ;
5053 }
54+
55+ public Integer getIndex () {
56+ return index ;
57+ }
58+
59+ public void setIndex (Integer index ) {
60+ this .index = index ;
61+ }
5162}
You can’t perform that action at this time.
0 commit comments