Commit 9991f5c5 authored by gao's avatar gao

监控系统(微信消息推送)

1.0 签名服务器监控
2.0 可信平台监控
3.0 服务状态监控
parent 374b7bdf
...@@ -142,13 +142,10 @@ public class SendRequset { ...@@ -142,13 +142,10 @@ public class SendRequset {
try { try {
wxResultMassage = mapper.readValue(result,WxResponseBean.class); wxResultMassage = mapper.readValue(result,WxResponseBean.class);
} catch (JsonParseException e) { } catch (JsonParseException e) {
// TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} catch (JsonMappingException e) { } catch (JsonMappingException e) {
// TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} }
return wxResultMassage; return wxResultMassage;
......
...@@ -7,7 +7,7 @@ import org.springframework.context.support.FileSystemXmlApplicationContext; ...@@ -7,7 +7,7 @@ import org.springframework.context.support.FileSystemXmlApplicationContext;
* Created by gaoxiang on 2018/1/23. * Created by gaoxiang on 2018/1/23.
*/ */
public class StartUpTask { public class StartUpTask {
public static void main(String aa[]){ public static void main(String[] args){
ApplicationContext context = new FileSystemXmlApplicationContext("classpath:applicationContext.xml"); ApplicationContext context = new FileSystemXmlApplicationContext("classpath:applicationContext.xml");
} }
} }
...@@ -18,7 +18,7 @@ import java.util.Map; ...@@ -18,7 +18,7 @@ import java.util.Map;
* Created by gaoxiang on 2018/1/22. * Created by gaoxiang on 2018/1/22.
*/ */
public class test { public class test {
public static void main(String args[]){ public static void main(String[] args){
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment