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