fix: 修复删除
This commit is contained in:
@@ -96,7 +96,8 @@ public class ChannelService : ApplicationService, IChannelService
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 删除AI应用
|
/// 删除AI应用
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task DeleteAppAsync(Guid id)
|
[HttpDelete("channel/app/{id}")]
|
||||||
|
public async Task DeleteAppAsync([FromRoute]Guid id)
|
||||||
{
|
{
|
||||||
// 检查是否有关联的模型
|
// 检查是否有关联的模型
|
||||||
var hasModels = await _modelRepository._DbQueryable
|
var hasModels = await _modelRepository._DbQueryable
|
||||||
|
|||||||
Reference in New Issue
Block a user