| | |
| | | { |
| | | if (input == null) |
| | | return default; |
| | | //众毅连续两次调用解决方案 |
| | | if (!string.IsNullOrEmpty(_lastFlowId)) |
| | | { |
| | | if (_lastFlowId == input.flowId) |
| | | { |
| | | LogHelper.Debug($"众毅重复入参:{JsonHelper.Object2Json(input)}"); |
| | | return default; |
| | | } |
| | | } |
| | | _lastFlowId = input.flowId; |
| | | LogHelper.Debug($"众毅入参:{JsonHelper.Object2Json(input)}"); |
| | | var url_sg = Settings.WebApi.OpenApi.SanGaoDispatchUrl; |
| | | var responseText = HttpRequestHelper.Post(url_sg, JsonHelper.Object2Json(input)); |
| | |
| | | default: return default; |
| | | } |
| | | } |
| | | private static string _lastFlowId = null; |
| | | |
| | | /// <summary> |
| | | /// 计算保持的方案 |