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;

posted @ 2010-11-26 18:27  肚肚  阅读(207)  评论(0编辑  收藏  举报