public void Login() { string verifyCode = cw.GetLoginVC(QQ); if (verifyCode.Length != 4) { ShowVCImage(QQ); return; } Login(verifyCode); }
public string VCode(string LoginQQ) { getSession(); string tmp = ""; if (!CFun.IsQQnumber(ref LoginQQ)) { return("不是qq帐号"); } if (LoginQQ != CurCodeQQ || !IsNeedCode) { tmp = cw.GetLoginVC(LoginQQ);//根据QQ号获取默认验证码 } return(tmp); }