diff --git a/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs b/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs index cf2c14ff..8a522272 100644 --- a/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs @@ -97,7 +97,7 @@ /// /// [HttpDelete("{Id}")] - public async Task Delete(int Id) + public async Task Delete(long Id) { var data = MessageModel.Success("删除成功"); var entity = await _ghra_GradeServices.QueryById(Id); diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 18356978..e254f144 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -1255,7 +1255,7 @@ - + Ghra_Grade -- 删除数据 diff --git a/Tiobon.Core.Common/Seed/FrameSeed.cs b/Tiobon.Core.Common/Seed/FrameSeed.cs index aa1f4db9..c6fa456e 100644 --- a/Tiobon.Core.Common/Seed/FrameSeed.cs +++ b/Tiobon.Core.Common/Seed/FrameSeed.cs @@ -231,7 +231,7 @@ namespace Tiobon.Core.Common.Seed /// /// [HttpDelete(""{Id}"")] - public async Task> Delete(int Id) + public async Task> Delete(long Id) { var data = MessageModel.Success(""删除成功"") var entity = await _{ClassName}Services.QueryById(Id);