Exemplo n.º 1
0
        /// <summary>
        /// 生成纯数字数据
        /// </summary>
        /// <returns></returns>
        public static string GenerateNumber(StringLength length)
        {
            if (length == StringLength.L30)
            {
                return(NumberGenrator.Generate30());
            }

            return(NumberGenrator.Generate24());
        }
Exemplo n.º 2
0
 /// <summary>
 /// 生成30位的纯数字数据
 /// </summary>
 /// <returns></returns>
 public static string GenerateNumber()
 {
     return(NumberGenrator.Generate30());
 }