Пример #1
0
        public HttpResponseMessage AdminCheckIn([FromBody] LoginInParam Param)
        {
            try
            {
                AccountProvider _Provider = new AccountProvider();
                var             result    = _Provider.AdminCheckIn(Param);
                return(Request.CreateResponse(HttpStatusCode.OK, result));
            }
            catch (Exception ex)
            {
                LogFactory _LogFactory = new LogFactory(this.GetType());
                _LogFactory.CreateLog(LogType.Error, "管理员登陆认证", "AdminCheckIn", ex);

                return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message));
            }
        }