private ObjectResult CancelBindCard_1_0(String traceService, String requestService, ref String traceMethod) { var cancelRequest = JsonUtil.DeserializeObject <PersonalCancelBoundCardRequest>(_request.BizContent); if (!cancelRequest.Success) { _logger.Error(TraceType.ROUTE.ToString(), CallResultStatus.ERROR.ToString(), traceService, requestService, "BizContent解析失败", cancelRequest.FirstException, _request.BizContent); return(new ObjectResult(null, ErrorCode.BIZ_CONTENT_DESERIALIZE_FAILED)); } cancelRequest.Value.AppId = _request.AppId; traceMethod = $"{_service.GetType().FullName}.{nameof(_service.CancelBoundCard)}(...)"; _logger.Trace(TraceType.ROUTE.ToString(), CallResultStatus.OK.ToString(), traceService, traceMethod, LogPhase.BEGIN, "开始取消个人绑卡", cancelRequest.Value); var cancelResult = _service.CancelBoundCard(cancelRequest.Value); _logger.Trace(TraceType.ROUTE.ToString(), (cancelResult.Success ? CallResultStatus.OK : CallResultStatus.ERROR).ToString(), traceService, traceMethod, LogPhase.END, "结束取消个人绑卡", cancelResult.Value); return(cancelResult.Success ? new ObjectResult(cancelResult.Value) : new ObjectResult(null, cancelResult.ErrorCode, cancelResult.FirstException)); }