Procházet zdrojové kódy

sz 推送 添加时分秒

xiao547607 před 5 roky
rodič
revize
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", "您好,入侵警告通知如下:");