JSON字符串c#中的变量

q1qsirdb  于 2022-09-21  发布在  C#
关注(0)|答案(0)|浏览(184)
Int32 unixTimestamp = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds;
 Console.Write(unixTimestamp);
 var currentTimeUn = unixTimestamp.ToString();
string json = "{ "Method": "GetShippedOrders","Params": { "DateMin": 1575158400, "DateMax": {currentTimeUn} }}";

如何将CurrentTimeUn传递给DateMax?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题