using System;
using System.Collections.Generic;
using System.Linq;
using Library;
using MySystem.Models;

namespace MySystem
{
    public class Utils
    {
        public readonly static Utils Instance = new Utils();
        private Utils()
        { }

        #region 推送激活数据信息

        public void SendActData(MerchantInfo pos, int actType = 3)
        {
            // string data = "{";
            // data += "\"userId\":\"" + pos.UserId + "\",";
            // data += "\"brandId\":\"1\",";
            // data += "\"actTime\":\"" + DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss") + "\",";
            // data += "\"bindTime\":\"" + DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss") + "\",";
            // data += "\"sn\":\"\",";
            // data += "\"actType\":\"" + actType + "\"";
            // data += "}";
            // function.WriteLog(DateTime.Now.ToString() + "\n" + data, "推送激活数据信息MQ日志");
            // RedisDbconn.Instance.AddList("KxsActQueue", data);
        }

        #endregion 
    
    
    
    
    }
}