Skip to content

Commit

Permalink
新增图片操作接口
Browse files Browse the repository at this point in the history
  • Loading branch information
付永兴 committed Dec 22, 2020
1 parent 104e5e2 commit dfec7bd
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 338 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>cn.jpush.api</groupId>
<artifactId>jiguang-common</artifactId>
<version>1.1.9</version>
<version>1.1.10</version>
<packaging>jar</packaging>
<url>https://github.com/jpush/jiguang-java-client-common</url>
<name>Jiguang Client Common Dependencies</name>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/cn/jiguang/common/ClientConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public class ClientConfig extends HashMap<String, Object> {
public static final String V3_FILES_PATH = "jpush.v3.files.path";
public static final Object V3_FILES_PATH_SCHEMA = String.class;

public static final String V3_IMAGES_PATH = "jpush.v3.images.path";
public static final Object V3_IMAGES_PATH_SCHEMA = String.class;

public static final String SSL_VERSION = "ssl.version";
public static final Object SSL_VERSION_SCHEMA = String.class;
public static final String DEFAULT_SSL_VERSION = "TLS";
Expand Down Expand Up @@ -153,6 +156,8 @@ private ClientConfig() {

this.put(V3_FILES_PATH, "/v3/files");

this.put(V3_IMAGES_PATH, "/v3/images");

this.put(SSL_VERSION, DEFAULT_SSL_VERSION);
this.put(MAX_RETRY_TIMES, DEFULT_MAX_RETRY_TIMES);
this.put(READ_TIMEOUT, DEFAULT_READ_TIMEOUT);
Expand Down
Loading

0 comments on commit dfec7bd

Please sign in to comment.