dhl://订单+时间的随机10位数字

public static int Flag = 1;        

    if ((Flag+=1) > 10000) Flag = 0;
            long random = Convert.ToInt64(DateTime.Now.Ticks.ToString().Substring(DateTime.Now.Ticks.ToString().Length - 10)) + Flag;

原文地址:https://www.cnblogs.com/dudu837/p/1889105.html