diff --git a/code/java/天气灾害预警/disaster_warning.iml b/code/java/天气灾害预警/disaster_warning.iml index a81e62d..93e5b3b 100644 --- a/code/java/天气灾害预警/disaster_warning.iml +++ b/code/java/天气灾害预警/disaster_warning.iml @@ -11,9 +11,20 @@ + + + + + + + + + + + @@ -32,15 +43,5 @@ - - - - - - - - - - \ No newline at end of file diff --git a/code/java/天气灾害预警/disaster_warning.ipr b/code/java/天气灾害预警/disaster_warning.ipr index 01d0f50..ac62426 100644 --- a/code/java/天气灾害预警/disaster_warning.ipr +++ b/code/java/天气灾害预警/disaster_warning.ipr @@ -320,6 +320,17 @@ + + + + + + + + + + + diff --git a/code/java/天气灾害预警/pom.xml b/code/java/天气灾害预警/pom.xml index 78f3d9c..91ec2d8 100644 --- a/code/java/天气灾害预警/pom.xml +++ b/code/java/天气灾害预警/pom.xml @@ -10,6 +10,12 @@ httpclient 4.5.2 + + junit + junit + 4.4 + test + commons-beanutils commons-beanutils diff --git a/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/officalAccount/sendMessage.java b/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/officalAccount/sendMessage.java index aaca39c..096a9c9 100644 --- a/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/officalAccount/sendMessage.java +++ b/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/officalAccount/sendMessage.java @@ -36,7 +36,7 @@ public class sendMessage param.setFirst( title ); param.setKeyword1( notifyType ); - param.setKeyword1Color( "#ff000000" ); + param.setKeyword1Color( "#ff0000" ); param.setKeyword2( notifyMessage ); //转换成json