Beispiel #1
0
 private string Get_Auth_Token()
 {
     Dictionary<string, string> dic = new Dictionary<string, string>();
     dic.Add("username", UserName);
     dic.Add("password", PassWord);
     dic.Add("method", Fp_Common.FpMethod.gen_token.ToString());
     Fp_DAL.CallApi call = new CallApi(dic);
     string result = call.GetData();
     return result;
 }
Beispiel #2
0
        /// <summary>
        /// 检查登陆
        /// </summary>
        /// <returns></returns>
        private string Get_Auth_Token()
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("username", UserName);
            dic.Add("password", PassWord);
            dic.Add("method", Fp_Common.FpMethod.gen_token.ToString());
            Fp_DAL.CallApi call   = new CallApi(dic);
            string         result = call.GetData();

            return(result);
        }