增加guid生成方法。

This commit is contained in:
FalconFly 2023-09-11 13:43:56 +08:00
parent 5343fd53c2
commit f4e3c4abf0

View File

@ -63,6 +63,11 @@ namespace Falcon.SugarApi.ApiDefinistions
this.Cache = service.GetService<IDistributedCache>(); this.Cache = service.GetService<IDistributedCache>();
} }
/// <summary>
/// 获取一个新的系统Id
/// </summary>
protected virtual string NewId() => Guid.NewGuid().ToString();
#region #region
/// <summary> /// <summary>