public int CheckVerifyCode(string cuserID, int czoneID, int croleID, int pzoneID, int proleID, int isVip, int isLevel) { int result = (int)ESpreadState.Fail; try { ISpreadService kuaFuService = GetKuaFuService(); if (null != kuaFuService) { try { result = kuaFuService.CheckVerifyCode(_ClientInfo.ServerId, cuserID, czoneID, croleID, pzoneID, proleID, isVip, isLevel); } catch (System.Exception ex) { ResetKuaFuService(); } } } catch (System.Exception ex) { LogManager.WriteExceptionUseCache(ex.ToString()); } return(result); }
public int CheckVerifyCode(string cuserID, int czoneID, int croleID, int pzoneID, int proleID, int isVip, int isLevel) { int result = -1; try { ISpreadService kuaFuService = this.GetKuaFuService(false); if (null != kuaFuService) { try { result = kuaFuService.CheckVerifyCode(this._ClientInfo.ServerId, cuserID, czoneID, croleID, pzoneID, proleID, isVip, isLevel); } catch (Exception ex) { this.ResetKuaFuService(); } } } catch (Exception ex) { LogManager.WriteExceptionUseCache(ex.ToString()); } return(result); }