public IActionResult GetLog(int userid, int page, int limit)
        {
            var resultCountModel = new RespViewModel();
            int totalcount       = 0;

            try
            {
                var dataResult = _otherService.GetLog(userid, page, limit, ref totalcount);
                var loginCount = _otherService.GetLoginCount(userid);
                if (dataResult != null)
                {
                    resultCountModel.code       = 0;
                    resultCountModel.msg        = "成功";
                    resultCountModel.data       = dataResult;
                    resultCountModel.loginCount = loginCount;
                    resultCountModel.count      = totalcount;
                }
                else
                {
                    resultCountModel.code = -1;
                    resultCountModel.msg  = "没有检索到数据";
                }
                return(Ok(resultCountModel));
            }
            catch (Exception ex)
            {
                resultCountModel.code = -1;
                resultCountModel.msg  = "操作失败!原因:" + ex.Message;
                return(Ok(resultCountModel));
            }
        }