增加日志打印
This commit is contained in:
@@ -29,6 +29,7 @@ using System.Runtime.CompilerServices;
|
||||
using System.Messaging;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Net.Http;
|
||||
using Common;
|
||||
|
||||
namespace TestWebSocket
|
||||
{
|
||||
@@ -147,6 +148,8 @@ namespace TestWebSocket
|
||||
|
||||
while (true)
|
||||
{
|
||||
Console.WriteLine("write Redis Now time");
|
||||
CSRedisCacheHelper.Set("LastWebCmdTime", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), 5);
|
||||
Message msgRx = mq.Receive();
|
||||
msgRx.Formatter = new XmlMessageFormatter(new Type[] { typeof(string) });
|
||||
string strRx = msgRx.Body.ToString();
|
||||
|
||||
Reference in New Issue
Block a user