Beispiel #1
0
 private bool ADCCheck(int workId, string ecCode, string userId, string pwd, ref string ErrorMessage)
 {
     if (!string.IsNullOrEmpty(this._ADCUrl) && (workId == -1))
     {
         string str = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd).ADCCheckUser("");
         if (!string.IsNullOrEmpty(str))
         {
             ErrorMessage = str;
             return(false);
         }
     }
     return(true);
 }
Beispiel #2
0
 public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode)
 {
     ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd);
     return checker.ADCCheckUserAndSendMSG(verifyCode);
 }
Beispiel #3
0
 private bool ADCCheck(int workId, string ecCode, string userId, string pwd, ref string ErrorMessage)
 {
     if (!string.IsNullOrEmpty(this._ADCUrl) && (workId == -1))
     {
         string str = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd).ADCCheckUser("");
         if (!string.IsNullOrEmpty(str))
         {
             ErrorMessage = str;
             return false;
         }
     }
     return true;
 }
Beispiel #4
0
        public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode)
        {
            ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd);

            return(checker.ADCCheckUserAndSendMSG(verifyCode));
        }