Example #1
0
        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);
        }
Example #2
0
 public static long GetInt64Form(string query, long ldefault)
 {
     return(CTools.ToInt64(GetCommonValue(query, ldefault.ToString(), true, false)));
 }
Example #3
0
 public static int GetInt(string query, int ndefault)
 {
     return(CTools.ToInt(GetCommonValue(query, ndefault.ToString(), false, false)));
 }
Example #4
0
 public static int GetInts(string query)
 {
     return(CTools.ToInt(GetValue2(GetCommon(query, "", false, false))));
 }