/// <summary> /// 生成随机短信验证码值,某些平台可能提供了随机生成,可以重写该函数替换 /// </summary> /// <param name="length"></param> /// <returns></returns> public virtual string GenerateRandomNum(int length) { return(Random2.GenerateRandomNum((ushort)length).ToString()); }
/// <summary> /// 生成随机短信验证码值,某些平台可能提供了随机生成,可以重写该函数替换 /// </summary> /// <param name="length"></param> /// <returns></returns> public virtual string GenerateRandomNum(int length) { return(Random2.GenerateRandomNum((ushort)length).ToString()); }