public static string SetOpenId(string openId) { string begin = openId.Substring(0, 5); string end = openId.Substring(5, openId.Length - 5); string randStr = CTools.RandLetter(5); return(begin + randStr + end); }
public static long GetInt64Form(string query, long ldefault) { return(CTools.ToInt64(GetCommonValue(query, ldefault.ToString(), true, false))); }
public static int GetInt(string query, int ndefault) { return(CTools.ToInt(GetCommonValue(query, ndefault.ToString(), false, false))); }
public static int GetInts(string query) { return(CTools.ToInt(GetValue2(GetCommon(query, "", false, false)))); }