perf: 优化图片广场
This commit is contained in:
@@ -277,7 +277,7 @@ public class AiImageService : ApplicationService
|
||||
/// </summary>
|
||||
/// <param name="ids"></param>
|
||||
[HttpDelete("ai-image/my-tasks")]
|
||||
public async Task DeleteMyTaskAsync([FromBody] List<Guid> ids)
|
||||
public async Task DeleteMyTaskAsync([FromQuery] List<Guid> ids)
|
||||
{
|
||||
var userId = CurrentUser.GetId();
|
||||
await _imageTaskRepository.DeleteAsync(x => ids.Contains(x.Id) && x.UserId == userId);
|
||||
|
||||
Reference in New Issue
Block a user