示例#1
0
文件: CBCSV.cs 项目: GSIL-Monitor/BTP
 public Jinher.AMP.CBC.Deploy.CustomDTO.ReturnInfoDTO CheckRegisteredGenAuthCode(string phone)
 {
     Jinher.AMP.CBC.Deploy.CustomDTO.ReturnInfoDTO returnInfoDTO = null;
     try
     {
         Jinher.AMP.CBC.ISV.Facade.UserFacade userFacade = new CBC.ISV.Facade.UserFacade();
         //userFacade.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo();
         returnInfoDTO = userFacade.CheckRegisteredGenAuthCode(phone);
     }
     catch (Exception ex)
     {
         LogHelper.Error(string.Format("CBCSV.CheckRegisteredGenAuthCode服务异常:获取应用信息异常。 phone:{0}", phone), ex);
     }
     return(returnInfoDTO);
 }
示例#2
0
文件: CBCSV.cs 项目: GSIL-Monitor/BTP
 public Jinher.AMP.CBC.Deploy.CustomDTO.ReturnInfoDTO UpdateUserInfoByID(ModifyDTO modifyDTO)
 {
     Jinher.AMP.CBC.Deploy.CustomDTO.ReturnInfoDTO returnInfoDTO = null;
     try
     {
         Jinher.AMP.CBC.ISV.Facade.UserFacade userFacade = new CBC.ISV.Facade.UserFacade();
         userFacade.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo();
         returnInfoDTO         = userFacade.UpdateUserInfoByID(modifyDTO);
     }
     catch (Exception ex)
     {
         LogHelper.Error(string.Format("CBCSV.UpdateUserInfoByID服务异常:获取应用信息异常。 modifyDTO:{0}", modifyDTO), ex);
     }
     return(returnInfoDTO);
 }