Ejemplo n.º 1
0
        public async Task <ResponseMessage> Confirm(UserInfo User, [FromBody] ConfirmRequest request)
        {
            var r = new ResponseMessage();

            try
            {
                r = await _chargeManager.Confirm(User, request);
            }
            catch (Exception e)
            {
                r.Code    = ResponseCodeDefines.ServiceError;
                r.Message = "服务器错误:" + e.Message;
                Logger.Error("确认报销单失败:\r\n{0}", e.ToString());
            }
            return(r);
        }