diff --git a/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs b/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs index e254fc2..a8e3e1c 100644 --- a/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs +++ b/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs @@ -63,6 +63,11 @@ namespace Falcon.SugarApi.ApiDefinistions this.Cache = service.GetService(); } + /// + /// 获取一个新的系统Id + /// + protected virtual string NewId() => Guid.NewGuid().ToString(); + #region 记录日志 ///