Skip to content

Commit

Permalink
build: release v0.4.01 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antenbabby authored Jan 20, 2024
1 parent 61aa867 commit 4dd069a
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you're using Maven, just add the following dependency in `pom.xml`.
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.0</version>
<version>0.4.01</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.0</version>
<version>0.4.01</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 介绍

本文档基于腾讯云 IM Server SDK Java <Badge type="tip" text="v0.4.0" vertical="top" /> 编写。
本文档基于腾讯云 IM Server SDK Java <Badge type="tip" text="v0.4.01" vertical="top" /> 编写。

## 前提条件

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.0</version>
<version>0.4.01</version>
</dependency>
```

### Gradle

```gradle
implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.0'
implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.01'
```

### 下载 JAR
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qcloud-im-server-sdk-java",
"version": "0.4.0",
"version": "0.4.01",
"description": "腾讯云 IM 服务端 SDK API 文档 Java 版",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.0</version>
<version>0.4.01</version>
<packaging>jar</packaging>

<name>qcloud-im-server-sdk-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public TIMFileMsgElement(FileMsgContent msgContent) {
this.msgContent = msgContent;
}

public TIMFileMsgElement(String url, String uuid, Integer fileSize, String filename, Integer downloadFlag) {
this(new FileMsgContent(url, uuid, fileSize, filename, downloadFlag));
public TIMFileMsgElement(String url, String uuid, Integer fileSize, String fileName, Integer downloadFlag) {
this(new FileMsgContent(url, uuid, fileSize, fileName, downloadFlag));
}

public FileMsgContent getMsgContent() {
Expand All @@ -55,19 +55,19 @@ public static class FileMsgContent {
private Integer fileSize;

@JsonProperty("FileName")
private String filename;
private String fileName;

@JsonProperty("Download_Flag")
private Integer downloadFlag;

public FileMsgContent() {
}

public FileMsgContent(String url, String uuid, Integer fileSize, String filename, Integer downloadFlag) {
public FileMsgContent(String url, String uuid, Integer fileSize, String fileName, Integer downloadFlag) {
this.url = url;
this.uuid = uuid;
this.fileSize = fileSize;
this.filename = filename;
this.fileName = fileName;
this.downloadFlag = downloadFlag;
}

Expand Down Expand Up @@ -96,11 +96,11 @@ public void setFileSize(Integer fileSize) {
}

public String getFilename() {
return filename;
return fileName;
}

public void setFilename(String filename) {
this.filename = filename;
public void setFilename(String fileName) {
this.fileName = fileName;
}

public Integer getDownloadFlag() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package io.github.doocs.im.model.request;

import java.io.Serializable;

/**
* @author bingo
* @since 2021/7/27 15:47
*/
public abstract class GenericRequest {
public abstract class GenericRequest implements Serializable {
private static final long serialVersionUID = 1L;

}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class SendGroupMsgRequest extends GenericRequest implements Serializable
/**
* 消息自定义数据(云端保存,会发送到对端,程序卸载重装后还能拉取到)
*/
@JsonProperty("cloudCustomData")
@JsonProperty("CloudCustomData")
private String cloudCustomData;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
* @author bingo
* @since 2021/7/27 15:43
*/
public abstract class GenericResult {
public abstract class GenericResult implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 请求处理的结果,OK 表示处理成功,FAIL 表示失败,如果为 FAIL,ErrorInfo 带上失败原因
* {@link io.github.doocs.im.constant.ActionStatus}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.4.0
version=0.4.01

0 comments on commit 4dd069a

Please sign in to comment.