Пример #1
0
        public ActionResult <Dictionary <string, object> > QuerySystemDate()
        {
            RspMsg rspMsg = new RspMsg(RspType.OK);

            rspMsg.Add("DateTime", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
            rspMsg.Add("Timestamp", TimestampHelper.GetTimestampMilliSecond());
            return(rspMsg.GetKeyValues());
        }