Skip to content

Commit d47cba2

Browse files
committed
build
1 parent b91c0ee commit d47cba2

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.meteor</groupId>
88
<artifactId>wechat-bc</artifactId>
9-
<version>1.1.7-SNAPSHOT</version>
9+
<version>1.1.8-SNAPSHOT</version>
1010

1111
<distributionManagement>
1212
<repository>

release_info.info

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
VERSION=v1.1.7
2-
DESCRIPTION=feat: 根据username,备注,昵称来获取Contact对象
3-
feat: 语音消息的响应
4-
feat: 用户类型的区分(群,公众号,好友)
5-
1+
VERSION=v1.1.8
2+
DESCRIPTION=feat: feat: 批量获取联系人详情
63

src/main/java/com/meteor/wechatbc/Main.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
package com.meteor.wechatbc;
22

33

4+
import com.meteor.wechatbc.entitiy.contact.Contact;
45
import com.meteor.wechatbc.impl.WeChatClient;
56
import com.meteor.wechatbc.launch.Launch;
67
import com.meteor.wechatbc.plugin.Plugin;
78
import com.meteor.wechatbc.plugin.PluginClassLoader;
89
import com.meteor.wechatbc.scheduler.WeChatRunnable;
10+
import com.meteor.wechatbc.util.BaseConfig;
911
import org.apache.logging.log4j.LogManager;
1012
import org.apache.logging.log4j.Logger;
1113

@@ -28,6 +30,8 @@ public static int main0() {
2830
weChatClient.stop();
2931
}
3032
}));
33+
34+
3135
return new Main().start();
3236
}
3337

@@ -45,10 +49,14 @@ public int start(){
4549
weChatClient.initPluginManager();
4650

4751
try {
52+
System.out.println("getContactByNickName");
53+
Contact contact = weChatClient.getContactManager().getContactByNickName("zzzsh");
54+
System.out.println(contact.toString());
4855
weChatClient.loop();
4956
}finally {
5057
weChatClient.stop();
5158
}
59+
5260
return 0;
5361
}
5462

src/main/java/com/meteor/wechatbc/impl/model/MsgType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public String getIdx() {
3333
}
3434

3535
public static MsgType fromIdx(String idx){
36+
System.out.println("msgid: "+idx);
3637
for (MsgType value : MsgType.values()) {
3738
if(value.getIdx().equalsIgnoreCase(idx)) return value;
3839
}

src/main/java/com/meteor/wechatbc/impl/synccheck/SyncCheckRunnable.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ private void handlerMessage(){
8383
for (int i = 0; i < addMsgList.size(); i++) {
8484
JSONObject messageJson = addMsgList.getJSONObject(i);
8585

86+
System.out.println(messageJson.toString());
87+
8688
Message message = messageProcessor.processMessage(messageJson);
8789

8890
weChatClient.getLogger().debug(message.toString());

src/main/java/com/meteor/wechatbc/util/VersionCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public class VersionCheck {
1212

13-
private static final String CURRENT_VERSION = "v1.1.6";
13+
private static final String CURRENT_VERSION = "v1.1.8";
1414

1515
public static void check(String owner, String repo) {
1616

0 commit comments

Comments
 (0)