From 688b1ea208da068bfd5911eacc4d2be023219a7c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 24 二月 2023 13:51:21 +0800
Subject: [PATCH] 1、APP和短信同时推送,没有加APP的只推短信。
2、有归属的客户就留客户经理的电话,没有归属的客户留公司400电话。

---
 zhengcaioa/Crawler/logg.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zhengcaioa/Crawler/logg.cs b/zhengcaioa/Crawler/logg.cs
index 14d7f98..f9f8e8e 100644
--- a/zhengcaioa/Crawler/logg.cs
+++ b/zhengcaioa/Crawler/logg.cs
@@ -8,14 +8,14 @@
    public class logg
     {
         //鏃ュ織鍐欐硶
-        public static void WriteLog(string msg)
+        public static void WriteLog(string msg,string shenfgen="")
         {
             string filePath = AppDomain.CurrentDomain.BaseDirectory + "Log";  //璺緞
             if (!Directory.Exists(filePath))  //涓嶅瓨鍦ㄥ垯鍒涘缓
             {
                 Directory.CreateDirectory(filePath);
             }
-            string logPath = AppDomain.CurrentDomain.BaseDirectory + "Log\\" + DateTime.Now.ToString("yyyy-MM-dd") + ".txt";  //鏂囨。璺緞
+            string logPath = AppDomain.CurrentDomain.BaseDirectory + "Log\\" + shenfgen + DateTime.Now.ToString("yyyy-MM-dd") + ".txt";  //鏂囨。璺緞
             try
             {
                 using (StreamWriter sw = File.AppendText(logPath))

--
Gitblit v1.9.1