测试 chat message(list 和 delete)

This commit is contained in:
cherishsince 2024-04-24 19:04:16 +08:00
parent 6b8174a5a6
commit 3556e460e7
2 changed files with 11 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class ChatMessageController {
return chatMessageService.list(req);
}
@Operation(summary = "聊天记录", description = "查询个人的聊天记录")
@Operation(summary = "聊天记录 - 删除", description = "删除记录")
@DeleteMapping("/{chatConversationId}/{id}")
public CommonResult delete(@PathVariable("chatConversationId") Long chatConversationId,
@PathVariable("id") Long id) {

View File

@ -0,0 +1,10 @@
### message list
GET {{baseUrl}}/ai/chat/message/list?chatConversationId=1781604279872581644
Authorization: {{token}}
### message delete
DELETE {{baseUrl}}/ai/chat/message/1781604279872581644/8
Authorization: {{token}}