生成新订单号
private string GenerateNewOrderId()
{
var now = DateTime.Now;
var orderId = now.ToString("yyyyMMddHHmmssfff") + Guid.NewGuid().ToString().Replace("-", "").Replace("{", "").Replace("}", "").ToUpper().Substring
(0, 3);
return orderId;
}
github https://github.com/hano7758