Explorar o código

sz 推送 添加时分秒

xiao547607 %!s(int64=5) %!d(string=hai) anos
pai
achega
3d22f3f3d0

+ 1 - 1
src/main/java/com/jpsoft/smart/modules/common/utils/WechatMessageUtil.java

@@ -283,7 +283,7 @@ public class WechatMessageUtil {
 
 
 		JSONObject sendData = new JSONObject();
-		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
+		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 		String finallyContent = getContent(content);
 		JSONObject first = new JSONObject();
 		first.put("value", "您好,入侵警告通知如下:");