version upgrade to 1.7.0
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.foxinmy</groupId>
|
||||
<artifactId>weixin4j</artifactId>
|
||||
<version>1.6.9</version>
|
||||
<version>1.7.0</version>
|
||||
</parent>
|
||||
<artifactId>weixin4j-example</artifactId>
|
||||
<version>1.0</version>
|
||||
@@ -47,13 +47,13 @@
|
||||
<dependency>
|
||||
<groupId>com.foxinmy</groupId>
|
||||
<artifactId>weixin4j-mp</artifactId>
|
||||
<version>1.6.9</version>
|
||||
<version>1.7.0</version>
|
||||
</dependency>
|
||||
<!-- 微信企业号 -->
|
||||
<dependency>
|
||||
<groupId>com.foxinmy</groupId>
|
||||
<artifactId>weixin4j-qy</artifactId>
|
||||
<version>1.6.9</version>
|
||||
<version>1.7.0</version>
|
||||
</dependency>
|
||||
<!-- 微信被动消息(回调模式) -->
|
||||
<dependency>
|
||||
|
||||
+6
-5
@@ -1,5 +1,6 @@
|
||||
package com.foxinmy.weixin4j.example.server;
|
||||
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
import com.foxinmy.weixin4j.exception.WeixinException;
|
||||
@@ -41,12 +42,12 @@ public class Weixin4jServerStartupWithoutThread {
|
||||
@SuppressWarnings("resource")
|
||||
public static void main(String[] args) throws WeixinException {
|
||||
// 单独服务启动
|
||||
//new WeixinServerBootstrap(aesToken)
|
||||
//.handlerPackagesToScan(handlerPackage)
|
||||
//.addHandler(DebugMessageHandler.global).openAlwaysResponse()
|
||||
//.startup(port);
|
||||
// new WeixinServerBootstrap(aesToken)
|
||||
// .handlerPackagesToScan(handlerPackage)
|
||||
// .addHandler(DebugMessageHandler.global).openAlwaysResponse()
|
||||
// .startup(port);
|
||||
// spring容器启动
|
||||
new ClassPathXmlApplicationContext(
|
||||
ApplicationContext app = new ClassPathXmlApplicationContext(
|
||||
new String[] { "classpath:/spring-bean.xml" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user