/// <summary>
 /// 通过Code获取用户信息
 /// </summary>
 /// <param name="accountID">账号ID</param>
 /// <param name="code">Code</param>
 /// <returns>操作结果</returns>
 public OperateStatus GetUserInfoByCode(Guid accountID, string code)
 {
     AuthenticateServiceModel model = new AuthenticateServiceModel();
     return model.GetUserInfoByCode(accountID, code);
 }
 public ServiceResult GetUserInfoByCode(Guid accountID, string code)
 {
     AuthenticateServiceModel model = new AuthenticateServiceModel();
     var status = model.GetUserInfoByCode(accountID, code);
     return new ServiceResult(status);
 }
 /// <summary>
 /// 获取认证用Url
 /// </summary>
 /// <param name="accountID">账号ID</param>
 /// <param name="redirectUrl">重定向Url</param>
 /// <param name="getAuthType">获取认证的类型</param>
 /// <returns>操作结果</returns>
 public OperateStatus GetAuthUrl(Guid accountID, string redirectUrl, EnumGetAuthType getAuthType)
 {
     AuthenticateServiceModel model = new AuthenticateServiceModel();
     return model.GetAuthUrl(accountID, redirectUrl, getAuthType);
 }
 public ServiceResult GetAuthUrl(Guid accountID, string redirectUrl, EnumGetAuthType getAuthType)
 {
     AuthenticateServiceModel model = new AuthenticateServiceModel();
     var status = model.GetAuthUrl(accountID, redirectUrl, getAuthType);
     return new ServiceResult(status);
 }