Merge pull request #155 from sutra/#154

Fix Consts.loadProperties. Fixes #154.
This commit is contained in:
jinyu 2018-06-25 17:15:00 +08:00 committed by GitHub
commit a6ec644596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>weixin4j</name> <name>weixin4j</name>
<url>https://github.com/foxinmy/weixin4j</url> <url>https://github.com/foxinmy/weixin4j</url>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-base</artifactId> <artifactId>weixin4j-base</artifactId>
<name>weixin4j-base</name> <name>weixin4j-base</name>

View File

@ -18,7 +18,7 @@ public final class Consts {
private static Properties loadProperties() { private static Properties loadProperties() {
Properties properties = new Properties(); Properties properties = new Properties();
InputStream inputStream = Consts.class.getResourceAsStream("../weixin4j.properties"); InputStream inputStream = Consts.class.getResourceAsStream("/com/foxinmy/weixin4j/weixin4j.properties");
try { try {
properties.load(inputStream); properties.load(inputStream);
} catch (IOException e) { } catch (IOException e) {

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<packaging>war</packaging> <packaging>war</packaging>
<artifactId>weixin4j-example</artifactId> <artifactId>weixin4j-example</artifactId>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-mp</artifactId> <artifactId>weixin4j-mp</artifactId>
<name>weixin4j-mp</name> <name>weixin4j-mp</name>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-qy</artifactId> <artifactId>weixin4j-qy</artifactId>
<name>weixin4j-qy</name> <name>weixin4j-qy</name>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-server</artifactId> <artifactId>weixin4j-server</artifactId>
<version>1.1.9</version> <version>1.1.9</version>

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-serverX</artifactId> <artifactId>weixin4j-serverX</artifactId>
<version>0.0.1</version> <version>0.0.1</version>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j</artifactId> <artifactId>weixin4j</artifactId>
<version>1.8.0</version> <version>1.8.1</version>
</parent> </parent>
<artifactId>weixin4j-wxa</artifactId> <artifactId>weixin4j-wxa</artifactId>
<name>weixin4j-wxa</name> <name>weixin4j-wxa</name>