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

            try
            {
                r = await _chargeManager.Backup(User, request);
            }
            catch (Exception e)
            {
                r.Code    = ResponseCodeDefines.ServiceError;
                r.Message = "服务器错误:" + e.Message;
                Logger.Error("后补发票失败:\r\n{0}", e.ToString());
            }
            return(r);
        }