/// <summary> /// 生成PCCode /// </summary> /// <param name="UserName"></param> /// <returns></returns> public static string CreatePCCode(JH_Auth_User user) { string strPCCode = EncrpytHelper.Encrypt(user.UserName + user.UserPass + DateTime.Now.ToString("yyyy-MM-dd HH:mm")).Replace("+", "").Replace("=", ""); return(strPCCode); }
/// <summary> /// 生成PCCode /// </summary> /// <param name="UserName"></param> /// <returns></returns> public static string CreatePCCode(JH_Auth_User user) { string strPCCode = EncrpytHelper.Encrypt(user.UserName + "@" + user.UserPass + "@" + DateTime.Now.ToString("yyyy-MM-dd HH:mm")); return strPCCode; }