Skip to content

Commit

Permalink
Signed-off-by: Peterinor <tangyutianbulao@qq.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
Peterinor committed Aug 25, 2013
1 parent 1692aa9 commit d240f38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 9227/avt7/Controllers/avt7Controller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class avt7Controller : Controller
[HttpGet]
public string Index(string signature, string timestamp, string nonce, string echostr)
{
//Utities.Log(appPath + "weixinLog/sig_" + DateTime.Now.ToString("yyyy_MM_dd_hh_mm_ss") + ".txt", echostr);
//Utities.Log(appPath + "weixinLog/sig_" + DateTime.Now.ToString("yyyy_MM_dd_hh_mm_ss") + ".log", echostr);
return echostr;
}

Expand All @@ -40,7 +40,7 @@ public string Index()

XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Request.InputStream);
Utities.Log(appPath + "weixinLog/msg_" + DateTime.Now.ToString("yyyy_MM_dd_hh_mm_ss") + ".txt", xmlDoc.InnerXml);
Utities.Log(appPath + "weixinLog/msg_" + DateTime.Now.ToString("yyyy_MM_dd_hh_mm_ss") + ".log", xmlDoc.InnerXml);

TMessage MSG = new TMessage(xmlDoc);

Expand All @@ -58,7 +58,7 @@ public string Index()
}
catch (Exception e)
{
Utities.Log(appPath + "weixinLog/msg_Error.txt", e.Message);
Utities.Log(appPath + "weixinLog/msg_Error.log", e.Message);
}
return "";
}
Expand Down

0 comments on commit d240f38

Please sign in to comment.