wankeda
2026-01-18 f7ad3416dfc1558be842f3190688adc9a5a8933d
WMS/WIDESEA_WMSServer/WIDESEA_Core/AOP/LogAOP.cs
@@ -82,7 +82,7 @@
                            async () => await SuccessAction(invocation, apiLogAopInfo, startTime), /*成功时执行*/
                            ex =>
                            {
                                LogEx(ex, apiLogAopInfo);
                                //LogEx(ex, apiLogAopInfo);
                            });
                    }
                    //Task<TResult>
@@ -95,7 +95,7 @@
                            async (o) => await SuccessAction(invocation, apiLogAopInfo, startTime, o), /*成功时执行*/
                            ex =>
                            {
                                LogEx(ex, apiLogAopInfo);
                                //LogEx(ex, apiLogAopInfo);
                            });
                    }
@@ -146,13 +146,13 @@
                    apiLogAopInfo.ResponseJsonData = jsonResult;
                    Parallel.For(0, 1, e =>
                    {
                        LogLock.OutLogAOP("AOPLog", new string[] { apiLogAopInfo.GetType().ToString(), JsonConvert.SerializeObject(apiLogAopInfo) });
                        //LogLock.OutLogAOP("AOPLog", new string[] { apiLogAopInfo.GetType().ToString(), JsonConvert.SerializeObject(apiLogAopInfo) });
                    });
                }
            }
            catch (Exception ex) // 同步2
            {
                LogEx(ex, apiLogAopInfo);
                //LogEx(ex, apiLogAopInfo);
                throw;
            }
        }