【修复】BaseServices 的 InsertGuidAsync 递归调用自身导致堆栈溢出,改为调用仓储层方法。

This commit is contained in:
大灰灰
2026-09-13 05:10:34 +08:00
parent 1221cfcc87
commit ee51635824
+1 -1
View File
@@ -360,7 +360,7 @@ namespace CoreCms.Net.Services
/// <returns></returns>
public async Task<bool> InsertGuidAsync(T entity, Expression<Func<T, object>> insertColumns = null)
{
return await InsertGuidAsync(entity, insertColumns);
return await BaseDal.InsertGuidAsync(entity, insertColumns);
}
/// <summary>