From 24a8d17e007545f7426c48352109aa1a9c6587ee Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 06 五月 2020 12:02:09 +0800
Subject: [PATCH] IOS上线隐藏我的界面的banner与超级会员升级信息

---
 fanli/src/main/java/com/yeshi/fanli/log/PushLogHelper.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/log/PushLogHelper.java b/fanli/src/main/java/com/yeshi/fanli/log/PushLogHelper.java
index 5839b47..311916f 100644
--- a/fanli/src/main/java/com/yeshi/fanli/log/PushLogHelper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/log/PushLogHelper.java
@@ -92,6 +92,21 @@
 		} catch (IOException e1) {
 		}
 	}
+	
+	
+	public static void vivoError(Throwable e) {
+		String date = TimeUtil.getGernalTime(System.currentTimeMillis(), "yyyy_MM_dd");
+		String os = System.getProperty("os.name");
+		String filePath = String.format("/usr/local/tomcat8/logs/push/vivo_error_detail_%s.txt", date);
+		if (os.toLowerCase().startsWith("win")) {
+			filePath = String.format("C:/logs/push/vivo_error_detail_%s.txt", date);
+		}
+
+		try {
+			saveErrorLog(e, filePath);
+		} catch (IOException e1) {
+		}
+	}
 
 	public static void saveErrorLog(Throwable e, String filePath) throws IOException {
 		// 鍒涘缓鏂囦欢澶�

--
Gitblit v1.8.0